HTML Language
HTML Language
• <HTML>.............</HTML>
• <HEAD>.............</HEAD>
• <BODY>.............</BODY>
HTML tag --> <html></html>
• The <HTML> tag encloses all other HTML tags and associated text
within your document. It is an optional tag. You can create an HTML
document that omits these tags, and your browser can still read it
and display it. But it is always a good form to include the start and
stop tags. The format is: <HTML>
• Your Title and Document (contains text with HTML tags) goes here
• Most HTML tags have two parts, an opening tag and closing tag. The
closing tag is the same as the opening tag, except for the slash mark
e.g. </HTML>. The slash mark is always used in closing tags.
HEAD tag --><head></head>
• The <head> element is a container for metadata
(data about data) and is placed between the <html>
tag and the <body> tag.
• Metadata is data about the HTML document.
Metadata is not displayed.
• Metadata typically define the document title,
character set, styles, scripts, and other meta
information.
BODY tag--><body></body>
• The <body> tag defines the document's body.
• The <body> element contains all the contents of an HTML document,
such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
• There can only be one <body> element in an HTML document.
• The Format is:
<BODY>
Your Document goes here
</BODY>
Some common HTML tags