0% found this document useful (0 votes)
3 views

Ultimate HTML Cheatsheet For Web Developers ? ?

Uploaded by

tayyabafridi3402
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Ultimate HTML Cheatsheet For Web Developers ? ?

Uploaded by

tayyabafridi3402
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Ultimate

HTML
Cheatsheet
BASIC HTML

<!DOCTYPE> Defines the document

<html> Defines HTML documents

<head> Contains metadata / information for the document

<title> Defines a title for the document


<body> Defines HTML documents body
<h1>to<h6> Defines HTML headings

<p> Defines a paragraph

<br> Insert a single line break

<hr> Defines a thematic break in an HTML page


<!----> Defines a comment
FORMS AND INPUTS

<form> Defines an HTML form for user input

<input> Defines an input control

<textarea> Defines a multiline input control (text area)

<button> Defines a clickable button

<select > Defines a drop-down list

<option> Defines an option in a drop-down list

<label> Defines a label for an <input> element


<fieldset> Groups related elements in a form
<legend> Defines a caption for a <fieldset> element
<optgroup> Defines a group of related options in a drop-down
list
FORMATTING

<abbr> Defines an abbreviation or an acronym

<code> Defines a piece of computer code

<em> Defines emphasized text

<mark> Defines marked / highlighted text

<pre> Defines prefomatted text

<small> Defines smaller text

<progress> Represents the progress of a task

<b> Defines bold text

<q> Defines a short quotation

<blockquote> Defines a section that is quoted from another


source
IMAGES

<img> Defines an image

<map> Defines a client-side image map

<area> Defines an area inside an image map

<figcaption> Defines a caption for a <figure> element

<figure> Specifies self-contained content

<svg> Defines a container for SVG graphics

<picture> Defines a container for multiple image


resources
<canvas> Used to draw graphics, on the fly, via scripting
(usually JavaScript)
Thanks for reading
Did you find it Useful

You might also like