0% found this document useful (0 votes)
2 views2 pages

Complete HTML Guide

This document serves as a comprehensive guide to HTML, covering essential tags for document structure, text formatting, tables, and forms. It also lists common attributes used in HTML elements. The guide is designed for users ranging from beginners to advanced levels.

Uploaded by

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

Complete HTML Guide

This document serves as a comprehensive guide to HTML, covering essential tags for document structure, text formatting, tables, and forms. It also lists common attributes used in HTML elements. The guide is designed for users ranging from beginners to advanced levels.

Uploaded by

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

COMPLETE HTML GUIDE (BEGINNER TO ADVANCED)

Document Structure Tags


Tag Purpose
<!DOCTYPE html> Defines HTML5 document
<html> Root element
<head> Metadata container
<title> Page title
<body> Visible content
<meta> Metadata like charset, SEO
<link> External resources
<style> Internal CSS
<script> JavaScript
Text & Formatting Tags
Tag Purpose
<h1>-<h6> Headings
<p> Paragraph
<br> Line break
<hr> Divider
<b>/<strong> Bold
<i>/<em> Italic
<mark> Highlight
<small> Small text
<sub>/<sup> Subscript/Superscript
Tables
Tag Purpose
<table> Table container
<tr> Row
<td> Data cell
<th> Header cell
<thead> Header section
<tbody> Body section
<tfoot> Footer section
Forms
Tag Purpose
<form> Form container
<input> Input field
<textarea> Multi-line input
<label> Label
<select> Dropdown
<option> Option
<button> Button
Common Attributes
Attribute Purpose
id Unique identifier
class CSS class
style Inline CSS
href Link URL
src Image source
alt Image description
name Form key
value Form value
placeholder Hint text
required Mandatory field

You might also like