HTML Course Hindi - Beginner to Pro ( 2023 ) | Chapter 3

 

Basic HTML Typography

Tags which we use to write text in html
Heading Tags & Paragraph Tags
 

Heading Tags

  • Search engines use the headings to index the structure and content of your web pages.
  • <h1>headings should be used for main headings,
followed by <h2>headings, then the less important <h3>, and so on.
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
notion image
 

Paragraph Tags

<p>This is a paragraph.</p>
We generally write website filling text such as description , information text etc .

Formatting Tags

This tags are used to format text in html
 
  • <b> - Bold text
  • <strong> - Important text
  • <i> - Italic text
  • <em> - Emphasized text
  • <mark> - Marked text
  • <small> - Smaller text
  • <del> - Deleted text
  • <ins> - Inserted text
  • <sub> - Subscript text
  • <sup> - Superscript text
 
Example of each Formatting tags :
 
notion image

Citation & Quotation Tags

<blockquote>   →
if you pick up stuffs from other website. that stuffs is written in side blockqoute you can see below example cod.
notion image
 
<q> Do Some Coding </q> - “Do Some Coding” → <q> tag only provide quotation to text.
 
 
<abbr>
this tag is use to write short form you can see example below
notion image
notion image
 
<bdo>
Change direction of text
notion image
notion image