Welcome to the HTML reference guide! Here you can find information about HTML tags, attributes, and best practices.
Basic HTML Structure
<!DOCTYPE html>
<html>
<head>
<body>
Common HTML Tags
<h1>
to<h6>
: Headings<p>
: Paragraphs<a>
: Anchor (links)<img>
: Images<div>
: Division<span>
: Span
HTML Attributes
href
: Used with<a>
tag to specify the link destination.src
: Used with<img>
tag to specify the image source.
Styling with CSS
- Link a CSS file to your HTML document using the
<link>
tag in the<head>
section. - Apply styles to HTML elements using CSS selectors.
- Link a CSS file to your HTML document using the
**For more information, visit our CSS reference guide.
HTML5 Icon