0% found this document useful (0 votes)
4 views1 page

Beginner's Guide to HTML Basics

html note

Uploaded by

suleymanabdu0931
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Beginner's Guide to HTML Basics

html note

Uploaded by

suleymanabdu0931
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

HTML Notes for Beginners

Nice — here’s a compact, friendly beginner’s guide to HTML (the language used to
build web pages). I’ll cover the essentials, show examples, and finish with a short
exercise you can try.

What is HTML?

HTML (HyperText Markup Language) describes the structure of web pages. It uses tags
(like <p> or <h1>) to mark up content. Browsers read HTML and display pages.

Basic file structure (HTML5 template)


<!DOCTYPE html>
<html lang="en">
<head>

<meta name="viewport" content="width=device-width, initial-scale=1" />


<title>My First Page</title>
</head>
<body>
<h1>Hello, world!</h1>
<p>This is my first HTML page.</p>
</body>
</html>

<!DOCTYPE html>: tells the browser to use HTML5.

<html lang="en">: root element; lang helps acce`ssibility and search engines.

<head>: metadata (title, charset, links to CSS, etc.).

<body>: visible content.

You might also like