HTML Tutorial
Introduction to HTML
Basic HTML
HTML Elements
HTML Title Tag
HTML Heading Tag
HTML Attributes
HTML Paragraph
HTML Tutorial
HTML Tutorial
HTML is stands for Hyper Text Markup Language.
HTML is a markup language. Developed to create web document(Web Pages)
History of HTML
HTML is a created by Tim Berners- Lee in 1990.
Introduction to HTML
Introduction to HTML
HTML is stands for Hyper Text Markup Language. HTML is a markup language. Developed to create web document(Web Pages). HTML is not a programming language, rather it is markup language. HTML is case insensitive language. HTML uses markup tag to define a web page. HTML file has extension .htm or .html HTML is developed by world wide web consortium.HTML Local Environment Setup
You need a web browser installed on your machine a text editor like Sublime , Notepad, Notepad++, Visual studio code etc. Web browser are Internet Explorer, Mozila Firefox, Opera, Google Chrome etc…Download Sublime Text Editor
Sublime Website Link Download Sublime Text EditorHow to Install Sublime text editor in one video
We need to open sublime open a new file and write code HTML in it. Save it with .html extension and execute it with some browser.Basic HTML
HTML Documents
The all HTML document must be started with a document type declaration .The HTML document itself start tag with ends tag.
The display part of the HTML document is between and.
Example
HTML Elements
HTML Elements
An HTML element is defined by a starting tag. If the element contains other content, it ends with a closing tag. It start with a start tag / opening tag end with an end tag / closing tag.Example
Document of Elements
HTML document must start with a type declaration : <!DOCTYPE html>Example
</Doctype html><html>
<head>
<title>Doctype Elements</title>
</head>
<body>
<p>Documents of HTML</p>
</body>
</html>
HTML Title Tag
HTML Title Tag
The <title> tag is used for indicating the title of the HTML document.The <title> tag defines the title of the document. The title must be text only and it is shown in the browsers title bar or in the pages tab.
The <title> tag write unique title for every page.
Example
HTML Heading Tag
HTML Heading Tag
A HTML heading tag is used to define the headings of a web page.There are six types of headings defined by HTML.
These 6 Heading Tag are h1, h2, h3, h4, h5, h6.
Example
HTML Attributes
HTML Attributes
Attributes can be used to change the color, size, or functionality of HTML elements.Example
The <img> tag is use to embed an image in an HTML page. The src attributes specifies the path to the image displayThe src Attribute
An <img> tag is used to include an image in an HTML page. The src attribute specifies the path to the image to be displayed <img src=“bt.jpg”>Example
HTML Paragraph