HTML COURSE โข LESSON 1
HTML Introduction
HTML is the standard language used to create and structure web pages. Every website begins with HTML.
๐ก What does HTML mean?
HTML stands for HyperText Markup Language.
What is HTML?
- HTML is used to create the structure of web pages.
- HTML uses elements called tags.
- HTML tells the browser how content should appear.
- HTML can create headings, paragraphs, links, images, tables and forms.
- HTML is not a programming language. It is a markup language.
A Simple HTML Document
HTML Example
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello EDUHUB!</h1>
<p>I am learning HTML.</p>
</body>
</html>
Explanation
<!DOCTYPE html>
Declares that this is an HTML5 document.
<html>
Contains the complete HTML document.
<head>
Contains information about the web page.
<title>
Sets the title shown in the browser tab.
<body>
Contains all visible content.
<h1>
Creates a main heading.
<p>
Creates a paragraph.
โญ EDUHUB Tip
HTML creates the structure of a website. CSS is used for design, and JavaScript is used to add interactivity.