HTML stands for Hyper Text Markup Language it was created by Berners-Lee in late 1991 , which is the most widely used language on Web to develop web pages.Web browsers can read HTML files and compose them into visible or audible web pages. Browsers do not display the HTML tags and scripts, but use them to interpret the content of the page. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language .
HTML VERSION
VERSION YEAR
Html. 1991
Html 2.0. 1995
Html 3.2. 1997
Html 4.01. 1999
XHtml. 2000
Html5. 2012
GETTINGS TARTED
HTML files are just simple text files, so to start writing in HTML, you need a simple text editor ,for learning HTML a simple text editor like Notepad (PC) or Text Edit (Mac) will be easy . HTML can be edited by using a professional HTML editor like Adobe Dreamweaver , Microsoft Expression Web,Coffee Cup HTML Editor .
To Create A Simple Webpage With Notepad :
Open Notepad (PC) or Text Edit (Mac)
WRITE SOME HTML INTO TEXT EDITOR :Following is an example of a simple HTML document with Heading and Paragraph :The Following code can be copy/pasted in the "do it yourself" Section.
<!DOCTYPE html>
<html>
<body>
<h1>This is Heading</h1>
<p> This is paragraph</p>
</body>
</html>
Save The Html Page :
The finished page should be saved in examples.Html extension .
UTF-8 is the preferred encoding for HTML files .
To view the html page :
Open the saved HTML file in your browser.
A Simple HTML Document :
<!DOCTYPE html>
<html>
<head>
<title>Title of the page</title>
</head>
<body>
<h1>This is Heading</h1>
<p>This is paragraph</p>
</body>
</html>
Explanation for the above HTML document :
HTML BASICS
1.The DOCTYPE declaration defines the document type to be HTML.
2.The text between <html> and </html> describes an HTML document.
3.The text between <head> and </head> provides info about the document.
4.The text between <title> and </title> provides a title for the document.
5.The text between <body> and </body> describes the visible page content.
6.The text between <h1> and </h1> describes a heading.
7.The text between <p> and </p> describes a paragraph.LINE BREAK IN HTML :
Ifyou use the <br> tag , anything following it starts from the next line . This tag is an example of an empty element, there is no need for opening and closing tags, as there is nothing to go in between them.
Thanks for reading
Comments