Skip to main content

Archive

Show more

Introduction To Html

HTML Introduction


  • HTML is a Hyper Text Markup Language.
  • HTML is not a programming language.
  • HTML tells web browsers how to structure web pages.
  • HTML consists of a series of elements. 
  • HTML elements tell the browser how to display the content.
  • HTML elements are represented by tags.
  • HTML tags label pieces of content such as "heading", "paragraph", "table" etc.

Browsers do not display the HTML tags, but use them to render the content of the page.


History Of HTML:

Year HTML Version
1989 Tim Berners-Lee invented www
1991 HTML 1.0
1995 HTML 2.0
1997 HTML 3.2
1999 HTML 4.01
2000 XHTML 1.0
2008 HTML5 First Public Draft
2012 HTML5 Living Standard
2014 HTML5
2016 HTML 5.1
2017 HTML5.1 (2nd Edition)
2017 HTML5.2

STRUCTURE OF HTML DOCUMENT:

Structure-Of-HTML-Document-By-Rustcode
 

Example

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

<h1>Hello World!!</h1>
<p>My first paragraph.</p>

</body>
</html>

Example Explanation:

  • 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.

Only the content inside the <body> section is displayed in a browser.


WEB BROWSERS:


HTML Code Editors:

Text editors are used to edit HTML code. Notepad can also be used as a text editor. Apart from Notepad, another HTML code editor is also available, which provides editing as well as auto-correcting the highlighting of the code. All new code editors are more advanced, which helps in writing code faster and saving time. Some of the popular HTML text editors are given below:

  • Notepad
  • Notepad++
  • Sublime Text
  • Atom
  • Brackets
  • Visual Code Studio

For More Detailed Study About Code Editors Read This Article: Best Code Editing Software For Web Developer