Windows Programming and Scripting Language

In this section

Introduction:

HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012.

Important features of HTML 5:

  1. Semantics: Allowing us to describe more precisely what our content is.
  2. Multimedia: Incorporation of special element for audio and video embedding.
  3. Device Access: Allowing for usage of various input and output devices.
  4. Performance and Integration: Providing greater speed optimization and better usage of computer hardware.

Basic Building Block

  1. Opening Tag: This consists of name of the element. It marks where the element begins.
  2. Content: Information of the element.
  3. Closing Tag: This marks end of the element and it precedes tag name with a forward slash.
basic building block
• So, an element in HTML is: Opening tag, followed by content, followed by closing tag.
• Note-1: Content “Hello HTML!”, has a semantics/meaning now. What is it?
• Note-2: HTML is not case in-sensitive.

Basic structure of HTML file

Elements, Attribute and Tag

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.