Header Ads Widget

ad728

HTML LEARNING

HTML Overview

HTML

HTML is the standard markup language for creating Web pages.

  • HTML stands for Hyper Text Markup Language
  • HTML describes the structure of Web pages using markup
  • HTML elements are the building blocks of HTML pages
  • HTML elements are represented by tags
  • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
  • Browsers do not display the HTML tags, but use them to render the content of the page.

Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers.

Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.

Basic HTML Document

HTML - Overview

Basic HTML Document

In its simplest form, following is an example of an HTML document

<!DOCTYPE html>
<html>
   <head>
      <title>Document Title</title>
   </head>
	
   <body>
      <h1>Heading</h1>
      <p>Content goes here.....</p>
   </body>
	
</html>

HTML Document Output

This is document title

This is a heading

Document content goes here.....

Example Explained

`
  • The 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

Categories:
Similar Videos

0 Comments: