
Introduction to HTML Basics
1.What is HTML? HTML stands for Hyper Text Markup Language. It is used to create web pages and structure content on the internet. Every website we see is built using HTML. 2.What is and why do we use it? is written at the top of every HTML document. *why do we use it: It tells the browser that this document is written in HTML5 It helps the browser display the page correctly It avoids compatibility issues It is not a tag it is a declaration Example: HTML What is Tag? The tag contains information about the webpage. It includes: title Meta data Links to CSS Scripts The content inside is not directly visible on the webpage. Example: HTML My First page 3.What is Tag? The tag is written inside the tag. Purpose: It shows the page name in the browser tab Example: HTML HTML Basics It will appear on the browser tab as: HTML Basics 4.What Tag? The tag contains the main content of the webpage. Everything inside is visible to users. Example: HTML Welcome This is my first htmlpage. 5.What is Block E
Continue reading on Dev.to
Opens in a new tab



