HtmlCssMonk

Getting INTRODUCED to HTML | Learning HTML

DESCRIPTION

HTML is a standard markup language used by the browser to manipulate text, images and other content to display it in required format on a web page. Each page contains a series of connections to other pages called hyperlinks. Every web page you see on the Internet is written using one version or another of HTML .

While creating a Web page, the only limitation we have is our own imagination.

HTML-CSS MONK

In simple terms, a Web page (or HTML document) is a plain text file that has been encoded using Hypertext Markup Language (HTML) so that it appears nicely formatted in a Web browser.

Here’s what HTML means, word-by-word:

  • Hypertext – Text that you click to jump from document to document. This is a reference to the ability of Web pages to link to one another.
  • Markup – Tags that apply layout and formatting conventions to plain text. Literally, the plain text is “marked up” with the tags.
  • Language – A reference to the fact that HTML is considered a Markup language.

Important: HTML is not a programming language.


What is HTML ?

  • HTML stands for Hyper Text Markup Language .
  • HTML was developed by Tim Berners-Lee in 1991 .
  • Html is used for creating a static web page .
  • HTML consists of a series of elements .
  • HTML elements tell the browser how to display the content .
  • HTML elements are represented by tags.
  • Browsers do not display the HTML tags , but use them to render the content of the page.

Page Structure in HTML

  • <!Doctype html> - This declaration defines that this document is an HTML5 document
  • <html>This is called HTML root element and used to wrap all the code.
  • <head> Head tag contains metadata, title, CSS page etc.
  • <title> This element specifies a title for the HTML page (which is shown in the browser’s title bar or in the page’s tab).
  • <body>  This section contains everything that’s viewable on the browser. For example, all the text seen here is contained in the body tags.

Elements and Tags

  • HTML uses predefined tags and elements which tells the browser about content display property. If a tag is not closed then browser applies that effect till end of page.

The main parts of our element are as follows:

  1. The opening tag: This consists of the name of the element (in this case, h1), wrapped in opening and closing angle brackets. This states where the element begins or starts to take effect — in this case where the heading begins.
  2. The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends — in this case where the heading ends. Failing to add a closing tag is one of the standard beginner errors and can lead to strange results.
  3. The content: This is the content of the element, which in this case, is just text.
  4. The element: The opening tag, the closing tag, and the content together comprise the element.

History of HTML

History of HTML

Next topic – Basics Of HTML


2 thoughts on “Getting INTRODUCED to HTML | Learning HTML”

Leave a Comment

Your email address will not be published. Required fields are marked *