This project demonstrates a collection of basic HTML elements commonly used in modern web development. It serves as a great starting point for beginners who want to understand the structure and functionality of standard HTML components.
Element | Description |
---|---|
<!DOCTYPE> |
Declares the HTML5 document type. |
<html> |
Root element of the HTML page. |
<head> |
Contains the title and metadata. |
<body> |
Holds all visible HTML content. |
<h1> β<h6> |
Various levels of headings for semantic structure. |
<p> |
Paragraph to display text content. |
<a> |
Anchor link to navigate to external sites. |
<img> |
Image tag (Note: current source is a local path, not viewable on web). |
<ul> / <ol> |
Unordered and ordered lists to display bullet/numbered items. |
<table> |
Displays tabular data with headers and rows. |
<form> |
Accepts user input with text and email fields. |
<button> |
A clickable button element. |
<div> |
A block-level container for grouping content. |
<span> |
An inline container for short inline content. |
- Clone or download this repository.
- Open the
index.html
file in your web browser. - Explore how each HTML element renders and behaves.
- Modify the code to test and learn!
β οΈ Note:
The image uses a local path (D:\final projects\mern\Day - 1\html\html.png
).
It will not display in a browser unless served correctly or changed to a relative or web URL.