Some more Tags for Phrasing elements in HTML 5
1. <mark>:- We use
this tag for giving special effects to some text such as highlighting it.
Syntax:
<mark> text you want to highlight </mark>
Code:
- <!DOCTYPE HTML />
- <html>
- <body>
- <p> I m mark tag</p>
- I m
- <mark> formatting </mark> tag
- </body>
- </html>
Output:

<q> Non-quoted line </q>
- <!DOCTYPE HTML />
- <html>
- <body>
- <q cite="http://www.mcnsolutions.net">
- Trusted and Reliable Outsourcing Partner
- </q>
- </body>
- </html>

<s> a line that will contain cut mark. </s>
- <!DOCTYPE HTML>
- <html>
- <body>
- <p>
- <s>I m q tag</s>
- </p>
- <p>I m s tag </p>
- </body>
- </html>
Output:

<samp> Text generated by system</samp>
- <!DOCTYPE HTML >
- <html>
- <body>
- <samp> Do you really want to delete all
- files</samp>
- </body>
- </html>
Output:

5. <strong>:- We use this tag to give more focus to some
text than <em> tag provides.
- <DOCTYPE HTML>
- <html>
- <body>
- I m
- <strong> strong </strong> tag
- </body>
- </html>
Output:

6. <sub>:- We use this tag to provide a text at below in
HTML 5 document.
Code:
Output:

7. <sup>:- We use this tag to provide a text at above in
HTML 5 document.
Syntax:
<sup> Text which we want to provide a text
at above in HTML 5 document. </sup>
Code:

8. <time>:- We can use it to show a date
or time in our document. We can also show date and time both using this tag.
Syntax:
<time> time we want to show </time>
Code:

9. <u>:- This tag is used to show a text
which is underlined.
<u> Text we want to show </u>
Code:
10. <var>:- We use this tag for formatting name of text
which stores some value.
Syntax:
<var> variable name </var>
Syntax:
<sub> Text which we want to provide in
subscript form </sub>
subscript form </sub>
Code:
- <!DOCTYPE HTML />
- <html>
- <body>
- I m
- <sub> sub</sub> tag
- </body>
- <html>

Syntax:
at above in HTML 5 document. </sup>
- <DOCTYPE HTML>
- <html>
- <body>
- I m
- <sup> sup </sup> tag
- </body>
- </html>
Output:

Syntax:
<time> time we want to show </time>
Code:
- <!DOCTYPE HTML>
- <html>
- <body>
- I m time tag. Time is
- <time> 5:30 </time>
- </body>
- </html>
Output:

Syntax:
<u> Text we want to show </u>
Code:
- <!DOCTYPE HTML>
- <html>
- <body>
- <u> I m u tag </u>
- </body>
- </html>
Output:
Syntax:
<var> variable name </var>
Code:
- <!DOCTYPE HTML>
- <html>
- <body>
- <v> I m var tag </v>
- </body>
- </html>
Output:

Join the conversation! Your thoughts help the community grow.