Skip to main content

Command Palette

Search for a command to run...

Tags In HTML

Heading,Paragragh & space tag:

Updated
1 min read
Tags In HTML
A

I am gonna to start my journey as a full stack web developer.

There is various tag like paragraph tag whose syntax is <p>text</p>. It doesn't count any spaces between words. If you to count spaces use pre-tag, whose syntax is <pre>text</pre>.

There are heading tags, like h1,h2,h3,h4,h5,h6.

For most large sizes of the word, we use the h1 tag, the syntax is <h1>text</h1>, especially for heading.

And least size of a word can be written by h6 tag, syntax <h6>text</h6>.