Haris Ahmad @codehype_
Learn HTML
in 60 Seconds
SWIPE
Save it
Haris Ahmad @codehype_
Basic Tags
<!DOCTYPE html> Represents Document Type
<html> Root element of HTML Page
<head> Contains Page Information
<title> Title of the Page
<body> Defines Document’s Body
Haris Ahmad @codehype_
Document Structure
<h1> to <h6> Headings
<p> Paragraph
<div> Division in HTML Page
<br> Line Break
<span> Inline Section
<!-- --!> Comment
Haris Ahmad @codehype_
Formatting
<b> Bold Text
<i> Italic Text
<del> Deleted Text
<mark> Marked Text
<sub> Subscript Text
<sup> Superscript Text
Haris Ahmad @codehype_
Layout
<header> Header
<nav> Set of Navigation Links
<section> Defines Section in Document
<footer> Footer for Section
Haris Ahmad @codehype_
Lists
<ol> Ordered List
<ul> Unordered List
<li> List Items
<dl> Defines Description List
<dt> Defines Terms
<dd> Defines Each Term
Haris Ahmad @codehype_
Tables
<table> Defines Table
<td> Table Cell
<tr> Table Row
<th> Header Cell in Table
<thead> Header Content in Table
<tbody> Body Content in Table
<tfoot> Footer Content in Table
Haris Ahmad @codehype_
Forms
<form> Creates HTML Form
<input> Form Input
<label> Input Label
<button> Button
Haris Ahmad @codehype_
Follow us for more useful
content ⚡
Join our Telegram Channel for
free coding related resources.
[Link]
@codehype