To introduce HTML let’s start with definition so,
What is HTML?
HTML stands for Hyper Text Markup Language and it used for creating web pages.
HTML consists of a series of elements and describes the structure of Web page.
HTML elements tell the browser how to display the content
HTML elements are represented by tags and these tells how to display the content.
HTML consists of a series of elements and describes the structure of Web page.
HTML elements tell the browser how to display the content
HTML elements are represented by tags and these tells how to display the content.
Below code shows our first HTML document
<!DOCTYPE html> <html> <head> <title>Page Title goes here...</title> </head> <body> <h1>TechLearnings Heading</h1> <p>TechLearnings Paragraph</p> </body> </html>
HTML Tags
HTML tags (also called as HTML elements) are surrounded by angle brackets
<tag_name> Content inside tags... </tag_name>
When HTML pages are rendered on web broswer, browser engine transforms HTML documents and other resources of a web page, into an interactive visual representation on web broswer (or other user’s device).
<!DOCTYPE> Declaration
The declaration represents the document type, and helps browsers to display web pages correctly.