Tuesday, March 23, 2021

HTML Basics Introduction | Best way to learn html



HTML Basics Introduction


What is HTML ?
HTML ( Hyper Text Markup Language ) is a markup language which describes web documents or web pages.

HTML stands for Hyper Text Markup Language
A markup language is a set of markup tags
HTML documents are described by HTML tags
Each HTML tag describes different document content

What is HTML Tags ?
HTML tags are keywords (tag names) surrounded by angle brackets

Format - <tagname>content</tagname>

Ex - <h1> Hello I am Heading Tag </h1>


HTML tags normally come in pairs like <h1> and </h1>
The first tag in a pair is the start tag, The start tag is often called the opening tag.the second tag is the end tag and The end tag is often called the closing tag.
The end tag is written like the start tag, but add a slash before the tag name.

Web Browsers  
The web browser Such as Chrome, IE, Firefox, Safari etc, This web Browser is to read HTML documents and display them. The browser does not display the HTML tags, but uses them to determine how to display the document:


HTML Page Structure  


The DOCTYPE Declaration
The DOCTYPE declaration helps the browser to display a web page correctly. To display a Web document correctly, the browser must know both type and version. The doctype declaration is not case sensitive. All cases are acceptable HTML5 Common DOCTYPE Declarations

<!DOCTYPE html>