<DOCTYPE>:
This is the very first thing in your document, before the HTML tag. It tells the browser which HTML or XHTML specification the document uses.
<HEAD>:
The HEAD element contains information about the current document, such as its title.
<TITLE>:
This container is placed within the HEAD structure. Between the opening and closing title tags, you should have the title of your document.
<BODY>:
The largest part of your HTML document is the body, which contains the content of your document( that is displayed within the browser window).
Sample HTML code
<DIV>:
This tag encloses a block of content. It is useful for applying alignment and style to a section of a document that contains multiple elements rather than having to apply the alignment and styles to each element in the block. Each DIV element starts on a new line.
Syntax:
<DIV ALIGN=”LEFT(Default)”|”CENTER”|”RIGHT” CLASS=”styleClass” ID=”namedPlaceOrStyle” LANG=”ISO” STYLE=”style” > |
Heading Tag <H1>, <H2>, <H3>, <H4>, <H5>, <H6>:
The tags H1, H2, H3, H4, H5 and H6 displays headings. Level 1 is the most prominent heading and level 6 is the least prominent. Headings are usually displayed in a bolder, larger font than the normal body. Heading start on a new line.
Heading tag example
also see
C Programming language |
Go Programming language |
Linked List | Array |
Stack | Queue |
Puzzle | Reasoning |
Aptitude | Simplification |