Introduction to HTML
Basic Introduction
"If you want to elaborate on HTML to a 10-year-old toddler, how would you like to express it? Do you prefer to elaborate through stories or to make the toddler imagine a box that comprises many wishes? To keep that box open, you should speak a secret language that the box understands, and that language is called HTML."
Dear Magical Box,
Please put a picture of a dog in the box."
But you can't just say it like that! The magical box only understands HTML. So you need to speak its language:
"<img src="dog.jpg" alt="A cute dog picture">"
In this magical language, "<img>" means "put a picture here," "src" means "the picture comes from this place," and "alt" means "if the picture can't be shown, describe it like this."
So, HTML is like a secret code you use to tell the magical box what to show. It's a fun way to make all sorts of cool stuff appear on your computer screen!
HTML Abbreviation
HTML stands for HyperText Markup Language. Here's a breakdown of each part:
HyperText: Refers to text that contains links to other texts or documents. When you click on a link in a webpage, you're navigating to a new document or webpage. This interconnectedness is what makes the web "hyper."
Markup: Refers to the process of annotating text to give it structure and meaning. In HTML, markup is achieved using tags, which are special codes enclosed in angle brackets (< >) that define how the content should be displayed or structured.
Language: Indicates that HTML is a language used to create webpages. It's not a programming language like JavaScript or Python; instead, it's a markup language used for structuring and presenting content on the web.
Subscribe to my newsletter
Read articles from Arjun Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Arjun Sharma
Arjun Sharma
"Enthusiastic QA Analyst with a profound interest in backend development, driven by a passion for creating robust and reliable software systems. Committed to continuous learning and exploration of backend technologies, I find joy in unraveling complexities and optimizing performance. Beyond the code, I am dedicated to mentoring kids, sharing my knowledge, and igniting their curiosity for technology. Through insightful blog posts, I aim to inspire others while fostering a supportive community of learners. Join me on this journey as we explore the world of backend development and empower the next generation of tech enthusiasts!"