Strong Emphasize text in HTML

We will start with <strong> tag

This is some text and <strong>this part is within strong tag</strong> this part is normal

Output is here

This is some text and this part is within strong tag this part is normal

Adding style to <strong> tag

By using style we can change background color of strong tag.

<html>
<head>
<title>(Type a title for your page here)</title>

<style>
strong {
background-color: yellow;
}
</style>

</head>

<body>
<p> Plus2net.com is a site for <strong>web programming</strong> and learning SEO</p>

</body>
</html>

<em> tag

The text part with <em> is here

This is some text and <em>this part is emphasized</em> this part is normal

Output is here

This is some text and this part is emphasized this part is normal

Adding style to <em> tag By using style we can add underline to our emphasized text inside <em> tag

<html>
<head>
<title>(Type a title for your page here)</title>

<style>
em {
text-decoration: underline;
}
</style>

</head>

<body>
<p> Plus2net.com is a site for <em>web programming</em> and learning SEO</p>

</body>
</html>

Bold text style

Be the first to post comment on this article :


Google+

Post Comment This is for short comments only. Use the forum for more discussions.




HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer