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>.strong1 {
   background-color: yellow;
}</style>

</head>

<body>
<p>This is some text and <strong class=strong1>this part is within strong tag</strong> this part is normal

</body>
</html>

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

<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>

Plus2net.com is a site for web programming and learning SEO


Font style by CSS Bold Text in web page

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer