Thursday, 19 October 2017

HTML-Introduction

Introduction


What is HTML?

HTML is the language used to create the websites you visit everyday. It provides a logical way to structure content for websites.
Let's analyze the acronym "HTML," as it contains a lot of useful information. HTML stands for HyperText Markup Language.
  • markup language is a computer language that defines the structure and presentation of raw text. Markup languages work by surrounding raw text with information the computer can interpret, "marking it up" to be processed.
  • In HTML, the computer can interpret raw text that is wrapped in HTML elements. These elements are often nested inside one another, with each containing information about the type and structure of the information to be displayed in the browser.
  • HyperText is text displayed on a computer or device that provides access to other text through links, also known as “hyperlinks.” 
  A simple HTML document.


   
   <!DOCTYPE html>
   <html>
   <head>
   <title>Page Title</title>
   </head>
   <body>

   <h1>Example heading </h1>
   <p>First paragraph.</p>

   </body>
   </html> 


      Example Explained

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The <html>element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph

  


Share:

0 comments:

Post a Comment