A Detailed Lesson On HTML For Noobs
A Detailed Lesson On HTML For Noobs
Introduction to HTML
HTML (HyperText Markup Language) is the standard markup language for creating web pages.
It defines the structure and content of a webpage.
Basic Structure
A basic HTML document consists of three main sections:
HTML
<!DOCTYPE html>
<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>
Attributes:
HTML
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is a paragraph of text.</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
<img src="image.jpg" alt="Image">
<a href="https://example.com">Visit Example</a>
</body>
</html>
By following these guidelines, you can start creating your own web pages using HTML.
Sources
1. https://gitlab.com/-/snippets/2595537
2. https://calcopedia.com/html/