Sunday, June 22, 2014

HTML - Essential page tags - Header

Everything in between the opening and closing head tags is used to tell the browser about the page. For example, the title element specifies the page title that is displayed at the top of the browser window. It should be noted that the title element is the only required element in the head section.
<title>This is the title of the web page.</title>
The meta element, which contains other information about the page, is one of those empty elements we mentioned previously. We include attributes with meta tags to specify exactly which information is being referenced. In this case, the charset attribute tells the browser, with character encoding of the page, where UTF-8 stands for the standard Unicode character set.

The header content can also contain additional elements, such as those listed below.

Post a Comment