HTML stands for Hyper Text Markup Language. It is a web page describing language developed by W3 Consortium (founder of W3 Consortium “Tim Berners Lee” in 1989). We learn about HTML Skeleton, Elements and CheatSheet.
File Extension: .html or .htm
<!DOCTYPE html> <html> <head> <title>This is my first page</title> </head> <body> <h1>Welcome to HTML</h1> <p>Hi I am learning HTML.</p> </body> </html>
HTML tags are element names surrounded by angle brackets:<>
There two types of html tag :
Paired tag (container tag):
Unpaired tag (empty tag)
HTML attributes are values added to the opening tag of an element to configure the element or change the element’s default behavior. Like: <p align=”justify”> or <p style=”text-align:justify;”>
HTML comments are not displayed in the browser, but they can help document your HTML source code.
<!– Write your comments here –>
An HTML element is defined by a starting tag. If the element contains other content, it ends with a closing tag.
For example, <p> is starting tag of a paragraph and </p> is closing tag of the same paragraph but <p>This is my paragraph</p> is a paragraph element.
It is very much allowed to keep one HTML element inside another HTML element
<!DOCTYPE html> <html> <head> <title>Nested Elements Example</title> </head> <body> <h1>This is <u>under line style inside heading</u> heading</h1> <p>This is <i>italic style inside paragraph element</i> paragraph</p> </body> </html>