• Breaking News

    Business

    Friday, February 20, 2015

    HTML Document Construction- HTML Document Head and HTML Document Body Section

    HTML Document Construction- HTML Document Head and HTML Document Body Section-Instructions given to browsers in the form of an HTML is called an HTML document. It start with the opening or starting HYML tag and end with the closing or end Html tag i.e. the entire HTML document is placed between these tags. A standard HTML document consists of two sections, the and the tags. The element container all the head elements information about the page that you don’t necessarily see like the meta keywords meta description or title of a page.. The element can include a title for the document, scripts, styles, meta information, and more. The body section consists all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.

    Most of the HTML documents principally consists of Two main parts or sections –

    (1) The Head Section

    (2) The Body Section.
    HTML Head Section, HTML Body Section
    HTML Head Section, HTML Body Section

    The Head Section of an HTML document

    The Entire head section is placed between and tags. These tags are placed between and tags. The head section of the web pages contains the stuff which is not displayed in results directly by the web browsers. In head section Java script code, Meta of pages, Title of the page to be displayed on the top of the browser window, links of other file containing java script and CSS are included. Mostly following tags are included in the head tag - 

    The tag- This tag is used as a reference to the links on the page and specified with href attribute like “
    The tag – This tag is used without an end tag to define relation between another document most common use is call external style sheets(See the example-“”).

    The tag – This tag describes the page, refreshes it automatically after a certain period, controls the display in its real frame page. The page author, page content description and software used to create the page are also described by this tag. That’s why this tag is called one of the most important tag. This tag also does not have a closing tag(See the example-“”)

    The ).

    The ”)

    The tag – </b>This tag is used to declares the title of a webpage to be displayed in the top left corner of the web browser.(See the example – “<title>This is my page title

    The Body Section of an HTML document

    The second part of an HTML document is the BODY section. The entire body section is placed between and tags. These tags must be placed between the and tags but out of the section. This section is the main part of an HTML document and almost all the tags are placed in this section. In brief the body section of a basic HTML document comprises of the following tags.

    It defines the division sections.
    This tag defines the HTML form for use in input documents
    Defines the individual parts.

    Used to define horizontal lines.

    Defines the web document’s paragraphs.

                        To define preformatted texts.
    Defines sections.
    Defines table.