.html
extension, such as index.html
.Or use an editor online like:
<tagName> content(tags or text) </tagName>
.<tag>
notation indicates that the tag needs to be opened and it does not need to be closed. </tag>
. The others need to be closed.Group | Tags |
---|---|
HTML Document | <Doctype html> ,html , head , body |
Head Tags | title , style , <meta> , <link> , <script> |
Heading | h1 , h2 , h3 , h4 , h5 , h6 |
Paragraphs | p |
Semantic Text | i , em , b , strong , code , sub , sup , time , s , del |
Semantic Container | header , nav , main , footer , address |
Form Elements | form , select , textarea , button , label ,<input> |
List | ul , ol , li , dl , dt , dd |
Table | table , thead , tbody , tfoot , th , tr , td , caption |
Media | video , audio , iframe , embed , object , svg ,<img> |
Character Reference | < , > , & |
Comment | <!-- comment --> |
Cite and Quotation | q , blockquote , abbr , cite |
Feature Tags | dialog , progress , output , search , template |
Deprecated Tags | font , center , u , strike , applet , big , small , dir |
Deprecated Tags | menu , basefont , frame , frameset , isindex , blink |
Group tags | Attributes |
---|---|
All | id , class , data-* , style , lang , dir , hidden , on*event |
All | contenteditable , draggable , spellcheck , tabindex ,aria-* |
meta | charset , name , http-equiv , content , itemprop |
Link | href , target , rel , type |
Text | align , valign , width , height , translate |
Form | action , method , accept , accept-charset , enctype |
input | placeholder , value , type , name , checked , required |
List | type , start , value , reversed |
Table | colspan , rowspan , scope , headers |
Image | src , alt , title , width , height |
Media | controls , autoplay , loop , muted , poster |
To learn HTML and practice, you might visit some of these resources:
Thank you for reading. I hope this guide will be helpful to you.
[!NOTE]
I am not a professional. I am just a learner. Feel free to colabore to this repository. I will appreciate it. This repository was made with :heart: