Wednesday, 8 November 2017

HTML TAGS

HTML is a markup language and makes use of various tags to
format the content. These tags are enclosed within angle braces <Tag Name>.
Except few tags, most of the tags have their corresponding closing tags. For
example <html> has its closing tag </html> and <body> tag has its closing
tag </body> tag etc.

Above example of HTML document uses following tags:
Tag Description

<!DOCTYPE...> This tag defines the document type and HTML version.

<html> This tag encloses the complete HTML document and mainly
comprises of document header which is represented by

<head>...</head> and document body which is represented
by <body>...</body> tags.

<head> This tag represents the document's header which can keep
other HTML tags like <title>, <link> etc.

<title> The <title> tag is used inside the <head> tag to mention the
document title.

<body> This tag represents the document's body which keeps other
HTML tags like <h1>, <div>, <p> etc.
HTML Tutorial
19

<h1> This tag represents the heading.

<p> This tag represents a paragraph.
banner
Previous Post
Next Post

0 comments: