HTML NOTES
HTML NOTES
PARAGRAPH-
<p></p> Used to make a paragraph.
P*n Used to make multiple paragraphs. For example suppose we have to make 5
paragraphs so we can make 1 paragraph and in the next line write p*4 and hit ENTER It
will make 4 paragraphs.
<strong>THIS IS STRONG.!</strong>
<b> BOLD IS HERE </b>
THIS IS STRONG.! Above line is used to make line BOLD. We can either use
<strong> or <b> for make a line BOLD.
<em>THIS IS EMPHASIZED.!</em>
<i> ITALIC IS HERE </i>
THIS IS EMPHASIZED.! Above line is used to make line ITALIC. We can either use
<em> or <i> for make a line ITALIC.
ANCHOR TAG-
<a href=”link/url of the site which you want to go”>the text on which you are adding a
link</a>
We can use anchor tag <a href=””></a> to make a link on a text
Example, <a href=https://google.com>go to google</a>
LIST-
<ul>
<li>This is first item of unordered list.</li>
<li>This is second item of unordered list.</li>
<li>This is third item of unordered list.</li>
</ul>
<ul> Is used for unordered list. Types are disc, circle, square.
<ul type=”type from above”>
<ol> Is used for ordered list. Types is A, a, 1, I, i.
<ol type=”type from above”>
<li> Is used for make list.
TABLES-
<table></table> Used to make a TABLE.
<thead></thead> Used for head part of TABLE. To add heading in TABLE.
<tbody></tbody> Used for body part of TABLE. To add DATA in TABLE.
<tr></tr> Used to make a row of TABLE.
<th></th> Used to give header of TABLE.
<td></td> To store data in a cell.
SHORTCUTS
Ctrl + / This will convert any line in COMMENT and convert any COMMENT in a
simple line