Heading
Tags
Any
document starts with a heading. You can use different sizes for your headings.
HTML also has six levels of headings, which use the elements
<h1>,
<h2>, <h3>, <h4>, <h5>, and <h6>
.
While
displaying any heading, browser adds one line before and one line after that
heading.
Paragraph
Tag
The
<p> tag offers a way to structure your text into different paragraphs.
Each paragraph of text should go in between an opening <p> and a closing
</p> tag as shown below in the example:
Line break tag
Whenever you use the <br/> element, anything following
it starts from the next line. this tag is an example of an empty element where
you do not need opening and closing tags, as there is nothing to go in between
them.
The <br/> tag has a space between the characters br
and the forward slash. if you omit this space, older browsers will have trouble
rendering the line break, while if you miss the forward slash character and
just use <br>it is not valid in XHTML.
Centering content
You can use <center> tag to put any content in the
center of the page or any table cell.
Horizontal lines.
Horizontal lines are used to visually break up sections of a
document. the <hr> tag creates a line from the current position in the
document to the right margin and breaks the line accordingly.
Preserve formatting
Sometimes you want your text to follow the exact format of
how it is written in the HTML document in those cases; you can use the
preformatted tag <pre>.
Any text between the opening <pre> tag and the
closing</pre> tag will preserve the formatting of the source document.
Hyperlink tag
Every tag has different work. <a> tag is use for
hyperlink tag. It is very importance. Every page need to add other link. it’s
opening tag is <a> and closing tag </a>.\
Here are some example:
Body tag
Body tag is main tag. it is use after heading tag. This is
body option.
Here are some example:
Html tag
It is a first tag for html document. Without this tag html
document will not be made. Every html document need this tag at first. This
opening tag is <html> and closing tag is </html>.
Here are some example :
italic tag
italic tag use for made word italic. it’s opening tag is
<i> and finishing tag </I>. if you want to made your word italic,
you need to input your word into this tag.
here are some example:
list tag
list tag use for make list. it’s opening tag <li> and
closing tag< /li>
here are some example:
table tag
table tag use for make table. table has some collam and some
row. so it’s has more tag. it’s opening tag is <table> and closing
tag</table>
here are some example:
Underline tag
underline tag use for make underline. if you want to make
your sentence underline you can do this. it’s opening tag<u> and closing
tag </u>.
here are some example:
blinking tag
This tag use for make word blink. it’s opening tag< blink
> and closing tag </blink>. if you inter your word into this tag, your
word will be blink. here are some example: