Loading
HTML stands for Hypertext Markup Language. It is the standard markup language for creating web pages. Think of it as the skeleton or the foundation of a web page. It defines the structure and content of a web page, telling the web browser how to display text, images, videos, and other elements.
Here’s an analogy: Imagine you’re building a house. The bricks and mortar are like the HTML code, while the windows, doors, and roof are like the different HTML elements. Just like you wouldn’t build a house without a plan, you wouldn’t create a web page without HTML.
Here are some key things to know about HTML:
<h1> element defines a heading, the <p> element defines a paragraph, and the <img> element defines an image.<h1>) and an ending tag (e.g., </h1>). The content of the element goes between the tags.<!DOCTYPE html> <html> <head> <title>My First Web Page</title> </head> <body> <h1>This is my first heading</h1> <p>This is a paragraph of text.</p> <img src="image.jpg" alt="My image"> </body> </html>