Introduction of HTML

Introduction of HTML


HTML stands for Hyper Text Markup Language.Sir.Tim Berners-Lee is founder of HTML in 1989.HTML markup consists of several key components, including character-based data types ,tags (and their attributes), entity references and character references. Another important component is the document type declaration, which triggers standards mode rendering.It can be thought of as a programming language that is used to place text, file,image and other contents on a web page. HTML consists of tags. A tag is placed before and after of text to control how that text will look in the browser.The purpose of an internet browser is to scan HTML documents and compose them into visible or loud sites. The browser doesn't show the HTML tags, however uses the tags to interpret the content of the page.HTML is that the basic building blocks of all websites.

Following is a Simple Document of HTML
                        
   <!DOCTYPE html>
   <html>
    <title>Your Title </title>
    <head>for scripts, styles, meta </head>
    <body>
     <h1>
    </body>
   </html>

    Introduction of HTML 

Explanation of above document

A document type declaration, or DOCTYPE, is  AN instruction that associates a selected SGML or XML document (for example, a web page) with a document type definition (DTD).

       
                                                   <!DOCTYPE html>
   

The <html> element represents the root element of an HTML page and it contain tow section 
<head> section and body section.

       
                                               <HTML>    </HTML>
   

The <head> element is a container for metadata (data about data) and is placed the document scripts ,styles,character set,title,links and other meta information.

        
                                                      <head>    </head>
   

The <title> element defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text and tags between the element are ignored.

        
                                                              <title>    </title>
   

The <body> element contains the entire content of a web page, <body> element are what actually get displayed to the user visiting your web page or viewing your document.


        
                                                        <body>    </body>
   

The <h1> tag defines a large heading.

       
                                                         <h1>    </h1>
   

The HTML <p> element defines a paragraph.

       
                                                        <p>    </p>
   

Tags of HTML


HTML tags are the hidden keywords within a web page that define how your web browser must format and show the content. Most tags must have two parts, an starting and a ending part. For example, <P> is the starting tag and </html> is the ending tag. The start tag is also known as opening tag, and the end tag is known as closing tag.

 Introduction of HTML 

Whai is < ! DOCTYPE >


The < ! DOCTYPE > declaration is not an HTML element ,it is an instruction to the web browser about what version of HTML the page is written in. it declaration must be the very first thing in your HTML document, before the <html> tag.

Example
                       
 <!DOCTYPE html>
 <html>
        <head>
               <title>Your Title </title>
             for scripts, styles, meta tags
         </head>
          <body>
               <h1>Large Heading</h1>
               <p>Paragraph</p>
          </body>
 </html>
 
 Introduction of HTML 

Work of Web Browsers

The purpose of an online browser (Chrome, IE, Firefox, Safari) is to browse hypertext markup language documents and show them. The browser doesn't show the hypertext markup language tags, however uses them to see a way to show the document:

 Introduction of HTML 


Page Structure of HTML



Next

Comments

Popular posts from this blog

Bootstrap 4 Spyscroll Image Gallery|HTML CSS Code for Website

Responsive Navigation Menu Using HTML and CSS jquery

3D hover button using HTML and CSS|HTML CSS Code for Website Design