Description: Complete HTML cheetsheet for developer
<!DOCTYPE html>
< html lang ="en ">
< head >
< meta charset ="UTF-8 ">
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
< title > Document</ title >
</ head >
< body >
</ body >
</ html >
Header Tag
Header Tag
The < abbr title ="World Health Organization "> WHO</ abbr > was founded in 1948.attribute to show the
description for the abbreviation/acronym when you mouse over the element.
Select Tag And selected attribute
< select >
< option > HTML</ option >
< option > csc</ option >
< option selected > javascript</ option >
</ select >
< pre >
It's never too late to
be what you
might've been.
</ pre >
< ul type ="disc ">
< li >
Information Technology
</ li >
< li >
Computer Science
</ li >
< li >
Electrical Engineering
</ li >
</ ul >
< ol type ="a ">
< li >
Information Technology
</ li >
< li >
Computer Science
</ li >
< li >
Electrical Engineering
</ li >
</ ol >
< fieldset >
< legend > My world</ legend >
< p > This is my world</ p >
</ fieldset >
< table border ="2px; ">
< tr >
< td >
name
</ td >
< td >
roll
</ td >
</ tr >
< tr >
< td >
Rahul
</ td >
< td >
12
</ td >
</ tr >
< tr >
< td >
Rohit
</ td >
< td >
15
</ td >
</ tr >
</ table >
< a href ="https://www.google.com "> Click on the link to open Google</ a >
< img src =" " style ="width:150px; height:150px; ">
< p > Every day begins with < span style ="color:blue "> possibilities</ span > .</ p >
< bdo dir ="rtl ">
This text will go right-to-left.
</ bdo >
Form, input, button, textarea Tag
< form >
user name: < input name ="username " type ="text "> </ input > < br >
password :< input name ="password " type ="password " /> </ input > < br >
Gender :< input type ="radio " name ="gender "> Male < input type ="radio " name ="gender "> Female< br >
Email: < input name ="email " type ="email "> </ input > < br >
Address: < textarea name ="address " rows ="4 " cols ="50 "> Enter the Address</ textarea > < br >
< button name ="submit " type ="button "> Submit</ button >
< button name ="reset " type ="reset "> reset</ button >
</ form >
< p >
this is used to print symbol for copyright: ©
</ p >