HTML is the standard markup language for creating Web pages.
HTML defines the structure of a Web page.
HTML consists of a set of tags and attributes used to define the webpage.
Examples: text, images, links, forms, frames and more.
Easy to understand and create webpages.
This Tutorial follows the latest version HTML5.
The first version of HTML i.e., HTML 1.0 was released in 1991
Subsequent version was released in 1995 HTML 2.0, 1997 HTML 3.2 and 4.0, 1999 HTML 4.01 and many more.
And the latest version HTML5 was released in 2014.
Check the table below of how the HTML has evovled.
Basic markup for linking documents on the web.
Introduced tables, forms, and basic scripting.
Added applet support and improved tables.
Introduced CSS, frames, and advanced scripting.
Bug fixes and clarifications to HTML 4.0.
HTML reformulated with XML syntax.
Major revision with multimedia support, canvas, and more.
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>Heading 1</h1> <p>Paragraph text</p> </body> </html>
<html> - It is a root of a HTML Page.
<head> - Under the element it contains the meta information about the HTML page, stylesheets and scripts.
<title> - It specifies the title of the page.
<body> - The main content of the page where we include text, links, images, forms and more. And there are many tags that are used in html some of them are <h1>, <p>, <a>, <img>. Get to know about the Basic tags
<h1> - Defines the content as heading
<p> - Defines the content as Paragraph
<i> - Defines the content as Italic
<span> - Defines the content as normal without any line break
Similarly there are many elements.
Each element has a tagname with start tag and end tag. But for some tags there is no end tag.
Hi I am
Hi I am
Breaked with a line
Don't Skip the End tag. If so the content may get changed as the characterstics of the unclosed tag will get applied to all elements next to it.
The <!DOCTYPE> Declaration
It must only appear once in a documant and at the top of the page i.e., before any HTML tags
The <!DOCTYPE> declaration is not case sensitive.
IDEs: Integrated Development Environments (IDEs) are comprehensive software applications that provide advanced editing and debugging tools for web development. These programs often include code editors, project management tools, and debugging and testing features. Popular HTML IDEs include Visual Studio Code, NetBeans, and Eclipse.
Online editors: Online HTML editors allow you to create and edit HTML documents directly in your web browser, without having to install any software on your computer. Try out your HTML code here with our online compiler.
They display the html Documents correctly either from local files or by website. Some Web Browsers are Chrome, Safari, Firefox, Edge, etc.
They basically do not show the code of the HTML Documents, It compiles and display in visual format(output).
HTML Editors use Web Browsers to show the Output.