This file contains many beginner-friendly HTML examples and instructions.
HTML uses <h1> to <h6> for headings. <p> is for paragraph text.
This is a paragraph. You can write any sentence here.
You can make text bold, italic, or underlined.
Use <b>
, <i>
, and <u>
.
There are two kinds of lists: ordered (numbered) and unordered (bulleted).
Use the <img> tag to add images.
Click a link using the <a> tag:
Go to GoogleClick this button to see a message:
HTML tables let you display rows and columns:
Name | Age |
---|---|
Alice | 12 |
Bob | 14 |
This paragraph is red!
This one has a yellow background!
<div>
is a block container. <span>
is inline.
I am using a green span inside text.
Play audio or video directly in the browser:
Use comments in HTML with <!-- comment here -->
Use codes to show symbols:
© ♥ < > &
Use semantic tags like: