This is bold text
This is italic text
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<!-- simple example of text formating tags-->
<p> This is <b>bold</b> text </p>
<p> This is <i>italic</i> text </p>
<p> This is <sub>subscript</sub> and this is <sup>superscript</sup> </p>
</body>
</html>
Do you know ?
You can use text formating in css also :-
<style>
h1{
font-style: italic;/*to make text italic*/
font-weight: bold;/*to make text bold*/
}
</style>
<p>Here is some content from an article that contains the <mark>searched query</mark>
that we are looking for. Highlighting the text will make it easier for the user to
find what they are looking for.</p>
Here is some content from an article that contains the searched query that we are looking for. Highlighting the text will make it easier for the user to find what they are looking for.
<b>This text is bold</b>
<strong>This text is strong</strong>
So the Question is , what is the difference between b tag and strong ? or which tag we have to use in our article ? and which better for SEO ?
<i>Italicized Text Here</i>
<em>Italicized Text Here</em>
What is the difference ? and which one we have to use ?
<p> <u>Hypertext Markup Language</u> is the standard markup language
for documents designed to be displayed in a web browser</p>
<p>I like to write <abbr title="Hypertext Markup Language">HTML</abbr></p>
<p>I like to write <abbr title="Hypertext Markup Language">HTML</abbr></p>
<del>Deleted Text</del>
<s>Struck-through text here</s>
To offset text either upward or downward you can use the tags <sup> and <sub>
<p>Einstein's greatest equation, E = mc<sup>2</sup></p>
<p>Sodium bicarbonate, commonly known as baking soda formula is NaHCO<sub>3</sub></p>
<p>The is a normal text</p>
<small>The is a small text</small>
Share TDB SCHOOL
Share this E-Learning Website on social media platforms with your friends and followers