Typography refers to the activity related to text typing. All the headings, paragraphs and their formatting undergo this activity. So the tags are:
Heading tags: HTML supports six different sizes of headings. For every size, there is a tag. It all starts from the largest <h1> and ends at the smallest <h6>.
Syntax:
Example
Ourtutorials
Ourtutorials
Ourtutorials
Ourtutorials
Ourtutorials
Ourtutorials
Output:
Paragraph tag: It is a simple tag <p> ... </p>. Any text that is written inside of this tag structure appears as a paragraph in the browser
Syntax:
Example
We, at Ourtutorials, provide best quality E-Learning material. The text alongwith images, all are designed and presented in such a way that a candidate can get most of the concept very veasily.
Output:
Bold / Italic / Underline: These tags make the text bold / italic / underlined on screen respectively.
Syntax:
Example
Ourtutorials
Ourtutorials
Ourtutorials
Output:
Subscript: Subscript is the style of writing text below the baseline. For example- in a chemical formula H2SO4 , 2 and 4 are subscripts.
Syntax:
Example
H2SO4
Output:
Superscript: Subscript is the style of writing text above the baseline. For example- in a mathematical formula A2+B2 , 2 is superscript.
Syntax:
Example
A2+B2
Output:
Strike: Strike makes an effect of a horizontal cut across the entire text it is imposed over. For example- a price in e-commerce website is given as: Rs. 1500.00 Rs. 1000.00
Syntax:
Example
Rs. 1500.00 Rs. 1000.00
Output:
Teletype: Teletype is a style of text in which words appear as have been printed by a tele-printer or typewriter.
Syntax:
Example
Ourtutorials
Output:
Font: Font is a popular tag in HTML. It works for formatting the text up to some extent. We can set a particular font and a particular color for the text.
<font> tag is used with following two attributes
face: its value can be any font name like- Calibri, Times New Roman etc.
Ourtutorials
color: its value can be any color name like- red, green, blue, pink etc.
Ourtutorials
Example:
Example
Ourtutorials
NOTE: However font as a tag is not used very frequently in modern web design. Instead, CSS properties are applied.