HTML - Text Physical Style
What are Physical Text Tags
Given below are examples of text related tags that are classified as logical tags:
<b> - to display bold text.
<i> - to display italics
<u> - to display underline text
<font> - to change the font that is displayed
Examples of physical Text tags
In XHTML 1.1 the tag <font> is not permitted.
In XHTML 1.1 the tag <u> is not permitted.
<p>with <b>bold</b> text </p> <p>with <i>italics</i> text </p> <p>with <u>underline</u> text </p> <font face="Arial"><p>with Arial</p> font</font> <font face="Helvetica"><p>with Helvetica</p> font</font> <font face="sans-serif"><p>with sans-serif</p> font </font> <font face="Wingdings"><p>with Wingdings</p> Wingdings font</font> |
This is how it will appear in a browser |
with bold text with italics text with underline text with Arial fontwith Helvetica fontwith sans-serif fontwith Wingdings Wingdings font |
View above example output in a new browser window |