The document introduces HTML (Hyper Text Markup Language), explaining that it is a markup language used to describe web pages with tags. It distinguishes between HTML tags and elements, illustrating that tags are the instructions while elements include the tags and their content. Additionally, it provides examples of HTML syntax and activities for creating headings and paragraphs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views8 pages
Introduction to HTML_Basics
The document introduces HTML (Hyper Text Markup Language), explaining that it is a markup language used to describe web pages with tags. It distinguishes between HTML tags and elements, illustrating that tags are the instructions while elements include the tags and their content. Additionally, it provides examples of HTML syntax and activities for creating headings and paragraphs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8
Introduction to HTML
V VIDYASHANKAR 29th JUNE 2025 Hyper Text markup Language A markup language is a set of markup tags
What is HTML uses these markup tags to
HTML? describe web pages HTML is not a case sensitive language HTML documents contain tags as well as text Tags are the elements that create components of a page Tags surrounded by angle brackets usually occur in pairs HTML Example : <p> and </p> ( start and end Elements tags ) Convention is to use lower case Stuff between tags is called element content < html > < head > <title > …. Document title …. </title> </head> HTML PAGE < body > …. Page content …. < / body > < / html > EXAMPLE SYNTAX What is the difference between elements and tags? An HTML Tag is just the opening <p> or closing </p> part. They are basically the instructions.
ELEMENTS An HTML element is the entire thing : the
& TAGS opening tag, the content tag and the closing tag. Visualize a sandwich. The two slices of bread are the tags and the complete sandwich with everything else is the element. EXAMPLE Wetting hands with code! Create the largest heading with the text ‘Welcome’ Create the second highest heading with the text ‘About Us’ Create the third highest heading with the ACTIVITIES text ‘GeeksforGeeks’ aligned to the center Create the third smallest heading with the text ‘Services’ and set its colour to ‘#0066cc’ Create a paragraph with bold text ‘Hello World’