This is page is to broaden your understanding of Html. This is a summary of all the tags in the same order in which the tutorial follows and for reference use such as country and language codes!
Tag | Use | Example |
---|---|---|
<!DOCTYPE html> | Used to create an Html 5 Document | <!DOCTYPE html> </html> |
<br> | Used to break the page and add a space. | <br> |
<hr> | Same as <br> and adds a line | <hr> |
<!-- --> | Used to add a comment that is not visible | <!-- This is the source code of the webpage --> |
<style> | To add CSS styling to your webpage. This is inside the head Tag | <style> .body{background-color:red;}</style> |
<link> | Used to link an external file for a specific purpose | <link rel="stylesheet" href="https://stylesheet.css" type="text/style"> |
<h1> | This is used to add the most important heading of a webpage | <h1>Superman</h1> |
<h2> | This is used to add the 2nd most important heading of a webpage | <h2>Superman</h2> |
<h3> | This is used to add the 3rd most important heading of a webpage | <h3>Superman</h3> |
<h4> | This is used to add the 4th most important heading of a webpage | <h4>Superman</h4> |
<h5> | This is used to add the 5th most important heading of a webpage | <h5>Superman</h5> |
<h6> | This is used to add the least most important heading of a webpage | <h6>Superman</h6> |
<p> | Used to add a paragraph | <p> This is a paragraph </p> |
<pre> | Used to add a preformatted text with a different format | <pre> This is a paragraph </pre> |
<sub> | Used to subscript text | K<sub>c</sub> |
<sup> | Used to supscript text | 4<sub>th</sub> |
<i> | Used to add text in italics | <i>This is in italics</i> |
<b> | Used to add text in bold | <b>This is in bold</b> |
<strong> | Used to add text in bold / strong | <strong>This is in strong text</strong> |
<small> | Used to add text in small letters | <small>This is in small text</small> |
<em> | Used to emphasis text. Simlar to italics | <em>This is in italics</em> |
<mark> | Used to higlight text | <mark>Highlighted text</mark> |
<del> | This is to cut words. False delete | <del>2 + 2 = 5</del> |
<u> | Used to underline text | <u>underlined text</u> |
<ins> | Used to underline or insert text | <ins>underlined text</ins> |
<blockquote> | Used to add a quote from a different site | <blockquote>This is a quote from MrWiscus</blockquote> |
<q> | Used to add a simple quote | <p>Hello!</p> |
<figure> | Is used to group similar type of data such as images. Like a container | <figure></figure> |
<figcaption> | This is used to add a caption for figure | <figcaption>This is a caption</figcaption> |
<cite> | Used to add the title in a figure | <cite>This is a title</cite> |
<address> | Used to add an address | <address>Hello!</address> |
<abbr> | Used to higlight abbreviations | <abbr>WHO</abbr> |
<bdo> | Used to change the direction of text | <bdo dir="rtl">Pool</bdo> |
<bdi> | Isolate and highlight keywords | <bdi>SUPERB</bdi> |
<a> | Used to add a link | <a href="https://revisezone.com">Click Here!</a> |
<img> | Used to add an image | <img src="picture.png"> |
<q> | Used to add a simple quote | <p>Hello!</p> |
<ul> | Used to contain an unordered list | <ul></ul> |
<ol> | Used to contain an ordered list | <ol></ol> |
<li> | Used to add a list item of a list | <li>This is the first item</li> |
<dl> | Used to contain an description list | <dl></dl> |
<dt> | Used to add a title for the description list | <dt>Fruits</dt> |
<dd> | Used to add an item to the description list | <dd>This is an item</dd> |
<table> | Used to create a table | <table></table> |
<th> | Used to create the heading of each column | <th>Name</th>
<th>Age</th> |
<tr> | Used to create a row of a table | <tr></tr> |
<td> | Used to create a cell in a table | <td>18</td> |
<span> | Used to create an inline element | <span>This is a phrase</span> |
<div> | Used to create a container to hold other elements | <div></div> |
<iframe> | Used to create an iframe | <iframe src="example.pdf"></iframe> |
<head> | Used to hold any meta information of the webpage | <head></head> |
<script> | To include any Javascipting | <script>document.location.href= "https://revisezone.com";</script> |
<title> | Used to define the title of the webpage | <title>Coding Tutorials</title> |
<meta> | Used to define any meta information of the webpage | <meta></head> |
<header> | Used to contain the header of the webpage | <header></header> |
<nav> | Used to contain the navigation links of the webpage | <nav></nav> |
<section> | Used to create a section in the webpage | <section></section> |
<article> | Similar to the section tag | <article></article> |
<aside> | Similar to the section tag | <aside></aside> |
<main> | To contain the main section of the webpage | <main></main> |
<details> | To hold an additional hidden section that is visibke when clicked | <details></details> |
<summary> | To define the title of the details section | <summary></summary> |
<picture> | To display images using many back up | <picture></picture> |
<audio> | To add audio | <audio src="music.mp3" type="mp3/ogg">Your browser is not supported</audio> |
<video> | To add a video | <video src="video.mp4" type="mp4/ogg">Your browser is not supported</video> |
<embed> | To link to an external file | <embed src="file.exe">Your browser is not supported</embed> |
<object> | Same as the embed tag | <object src=""> |
<form> | To contain a form | <form></form> |
<fieldset> | To group a form | <fieldset></fieldset> |
<legend> | To add a title for the fieldset tag | <legend>Sign up</legend> |
<input> | To add a input bar to enter different types of data to the form | <input type="text"></input> |
<label> | To add a label for each input | <label for="name">Name:</label> |
<select> | Used to hold to a compulsory option set | <select></select> |
<datalist> | Similar to select but, the options are just suggestions | <datalist></datalist> |
<option> | To give a possible option | <option>Maths</options> <option>Physics</options> <option>CS</options> |
<optgroup> | To group similar options | <optgroup></optgroup> |
<button> | Acts as button that activates an event when clicked | <button onclick="function event();">Click me</button> |
The country codes used in HTML 5 :
Country | ISO Code |
---|---|
AFGHANISTAN | AF |
ALBANIA | AL |
ALGERIA | DZ |
AMERICAN SAMOA | AS |
ANDORRA | AD |
ANGOLA | AO |
ANTARCTICA | AQ |
ANTIGUA AND BARBUDA | AG |
ARGENTINA | AR |
ARMENIA | AM |
ARUBA | AW |
AUSTRALIA | AU |
AUSTRIA | AT |
AZERBAIJAN | AZ |
BAHAMAS | BS |
BAHRAIN | BH |
BANGLADESH | BD |
BARBADOS | BB |
BELARUS | BY |
BELGIUM | BE |
BELIZE | BZ |
BENIN | BJ |
BERMUDA | BM |
BHUTAN | BT |
BOLIVIA | BO |
BOSNIA AND HERZEGOVINA | BA |
BOTSWANA | BW |
BOUVET ISLAND | BV |
BRAZIL | BR |
BRITISH INDIAN OCEAN TERRITORY | IO |
BRUNEI DARUSSALAM | BN |
BULGARIA | BG |
BURKINA FASO | BF |
BURUNDI | BI |
CAMBODIA | KH |
CAMEROON | CM |
CANADA | CA |
CAPE VERDE | CV |
CAYMAN ISLANDS | KY |
CENTRAL AFRICAN REPUBLIC | CF |
CHAD | TD |
CHILE | CL |
CHINA | CN |
CHRISTMAS ISLAND | CX |
COCOS (KEELING) ISLANDS | CC |
COLOMBIA | CO |
COMOROS | KM |
CONGO | CG |
CONGO, THE DEMOCRATIC REPUBLIC OF THE | CD |
COOK ISLANDS | CK |
COSTA RICA | CR |
CÔTE D'IVOIRE | CI |
CROATIA | HR |
CUBA | CU |
CYPRUS | CY |
CZECH REPUBLIC | CZ |
DENMARK | DK |
DJIBOUTI | DJ |
DOMINICA | DM |
DOMINICAN REPUBLIC | DO |
ECUADOR | EC |
EGYPT | EG |
EL SALVADOR | SV |
EQUATORIAL GUINEA | GQ |
ERITREA | ER |
ESTONIA | EE |
ETHIOPIA | ET |
FALKLAND ISLANDS (MALVINAS) | FK |
FAROE ISLANDS | FO |
FIJI | FJ |
FINLAND | FI |
FRANCE | FR |
FRENCH GUIANA | GF |
FRENCH POLYNESIA | PF |
FRENCH SOUTHERN TERRITORIES | TF |
GABON | GA |
GAMBIA | GM |
GEORGIA | GE |
GERMANY | DE |
GHANA | GH |
GIBRALTAR | GI |
GREECE | GR |
GREENLAND | GL |
GRENADA | GD |
GUADELOUPE | GP |
GUAM | GU |
GUATEMALA | GT |
GUINEA | GN |
GUINEA-BISSAU | GW |
GUYANA | GY |
HAITI | HT |
HEARD ISLAND AND MCDONALD ISLANDS | HM |
HONDURAS | HN |
HONG KONG | HK |
HUNGARY | HU |
ICELAND | IS |
INDIA | IN |
INDONESIA | ID |
IRAN, ISLAMIC REPUBLIC OF | IR |
IRAQ | IQ |
IRELAND | IE |
ISRAEL | IL |
ITALY | IT |
JAMAICA | JM |
JAPAN | JP |
JORDAN | JO |
KAZAKHSTAN | KZ |
KENYA | KE |
KIRIBATI | KI |
KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF | KP |
KOREA, REPUBLIC OF | KR |
KUWAIT | KW |
KYRGYZSTAN | KG |
LAO PEOPLE'S DEMOCRATIC REPUBLIC (LAOS) | LA |
LATVIA | LV |
LEBANON | LB |
LESOTHO | LS |
LIBERIA | LR |
LIBYAN ARAB JAMAHIRIYA | LY |
LIECHTENSTEIN | LI |
LITHUANIA | LT |
LUXEMBOURG | LU |
MACAO | MO |
MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF | MK |
MADAGASCAR | MG |
MALAWI | MW |
MALAYSIA | MY |
MALDIVES | MV |
MALI | ML |
MALTA | MT |
MARSHALL ISLANDS | MH |
MARTINIQUE | MQ |
MAURITANIA | MR |
MAURITIUS | MU |
MAYOTTE | YT |
MEXICO | MX |
MICRONESIA, FEDERATED STATES OF | FM |
MOLDOVA, REPUBLIC OF | MD |
MONACO | MC |
MONGOLIA | MN |
MONTENEGRO | ME |
MONTSERRAT | MS |
MOROCCO | MA |
MOZAMBIQUE | MZ |
MYANMAR | MM |
NAMIBIA | NA |
NAURU | NR |
NEPAL | NP |
NETHERLANDS | NL |
NETHERLANDS ANTILLES | AN |
NEW CALEDONIA | NC |
NEW ZEALAND | NZ |
NICARAGUA | NI |
NIGER | NE |
NIGERIA | NG |
NIUE | NU |
NORFOLK ISLAND | NF |
NORTHERN MARIANA ISLANDS | MP |
NORWAY | NO |
OMAN | OM |
PAKISTAN | PK |
PALAU | PW |
PALESTINIAN TERRITORY, OCCUPIED | PS |
PANAMA | PA |
PAPUA NEW GUINEA | PG |
PARAGUAY | PY |
PERU | PE |
PHILIPPINES | PH |
PITCAIRN | PN |
POLAND | PL |
PORTUGAL | PT |
PUERTO RICO | PR |
QATAR | QA |
RÉUNION | RE |
ROMANIA | RO |
RUSSIAN FEDERATION | RU |
RWANDA | RW |
SAINT HELENA | SH |
SAINT KITTS AND NEVIS | KN |
SAINT LUCIA | LC |
SAINT PIERRE AND MIQUELON | PM |
SAINT VINCENT AND THE GRENADINES | VC |
SAMOA | WS |
SAN MARINO | SM |
SAO TOME AND PRINCIPE | ST |
SAUDI ARABIA | SA |
SENEGAL | SN |
SERBIA | RS |
SEYCHELLES | SC |
SIERRA LEONE | SL |
SINGAPORE | SG |
SLOVAKIA | SK |
SLOVENIA | SI |
SOLOMON ISLANDS | SB |
SOMALIA | SO |
SOUTH AFRICA | ZA |
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS | GS |
SPAIN | ES |
SRI LANKA | LK |
SUDAN | SD |
SURINAME | SR |
SVALBARD AND JAN MAYEN | SJ |
SWAZILAND | SZ |
SWEDEN | SE |
SWITZERLAND | CH |
SYRIAN ARAB REPUBLIC | SY |
TAIWAN | TW |
TAJIKISTAN | TJ |
TANZANIA, UNITED REPUBLIC OF | TZ |
THAILAND | TH |
TIMOR-LESTE | TL |
TOGO | TG |
TOKELAU | TK |
TONGA | TO |
TRINIDAD AND TOBAGO | TT |
TUNISIA | TN |
TURKEY | TR |
TURKMENISTAN | TM |
TURKS AND CAICOS ISLANDS | TC |
TUVALU | TV |
UGANDA | UG |
UKRAINE | UA |
UNITED ARAB EMIRATES | AE |
UNITED KINGDOM | GB |
UNITED STATES | US |
UNITED STATES MINOR OUTLYING ISLANDS | UM |
URUGUAY | UY |
UZBEKISTAN | UZ |
VANUATU | VU |
VENEZUELA | VE |
VIET NAM | VN |
VIRGIN ISLANDS, BRITISH | VG |
VIRGIN ISLANDS, U.S. | VI |
WALLIS AND FUTUNA | WF |
WESTERN SAHARA | EH |
YEMEN | YE |
ZAMBIA | ZM |
ZIMBABWE | ZW |
The Complete language code table to define the language of a document or an element:
Language | ISO Code |
---|---|
Abkhazian | ab |
Afar | aa |
Afrikaans | af |
Akan | ak |
Albanian | sq |
Amharic | am |
Arabic | ar |
Aragonese | an |
Armenian | hy |
Assamese | as |
Avaric | av |
Avestan | ae |
Aymara | ay |
Azerbaijani | az |
Bambara | bm |
Bashkir | ba |
Basque | eu |
Belarusian | be |
Bengali (Bangla) | bn |
Bihari | bh |
Bislama | bi |
Bosnian | bs |
Breton | br |
Bulgarian | bg |
Burmese | my |
Catalan | ca |
Chamorro | ch |
Chechen | ce |
Chichewa, Chewa, Nyanja | ny |
Chinese | zh |
Chinese (Simplified) | zh-Hans |
Chinese (Traditional) | zh-Hant |
Chuvash | cv |
Cornish | kw |
Corsican | co |
Cree | cr |
Croatian | hr |
Czech | cs |
Danish | da |
Divehi, Dhivehi, Maldivian | dv |
Dutch | nl |
Dzongkha | dz |
English | en |
Esperanto | eo |
Estonian | et |
Ewe | ee |
Faroese | fo |
Fijian | fj |
Finnish | fi |
French | fr |
Fula, Fulah, Pulaar, Pular | ff |
Galician | gl |
Gaelic (Scottish) | gd |
Gaelic (Manx) | gv |
Georgian | ka |
German | de |
Greek | el |
Greenlandic | kl |
Guarani | gn |
Gujarati | gu |
Haitian Creole | ht |
Hausa | ha |
Hebrew | he |
Herero | hz |
Hindi | hi |
Hiri Motu | ho |
Hungarian | hu |
Icelandic | is |
Ido | io |
Igbo | ig |
Indonesian | id, in |
Interlingua | ia |
Interlingue | ie |
Inuktitut | iu |
Inupiak | ik |
Irish | ga |
Italian | it |
Japanese | ja |
Javanese | jv |
Kalaallisut, Greenlandic | kl |
Kannada | kn |
Kanuri | kr |
Kashmiri | ks |
Kazakh | kk |
Khmer | km |
Kikuyu | ki |
Kinyarwanda (Rwanda) | rw |
Kirundi | rn |
Kyrgyz | ky |
Komi | kv |
Kongo | kg |
Korean | ko |
Kurdish | ku |
Kwanyama | kj |
Lao | lo |
Latin | la |
Latvian (Lettish) | lv |
Limburgish ( Limburger) | li |
Lingala | ln |
Lithuanian | lt |
Luga-Katanga | lu |
Luganda, Ganda | lg |
Luxembourgish | lb |
Manx | gv |
Macedonian | mk |
Malagasy | mg |
Malay | ms |
Malayalam | ml |
Maltese | mt |
Maori | mi |
Marathi | mr |
Marshallese | mh |
Moldavian | mo |
Mongolian | mn |
Nauru | na |
Navajo | nv |
Ndonga | ng |
Northern Ndebele | nd |
Nepali | ne |
Norwegian | no |
Norwegian bokmål | nb |
Norwegian nynorsk | nn |
Nuosu | ii |
Occitan | oc |
Ojibwe | oj |
Old Church Slavonic, Old Bulgarian | cu |
Oriya | or |
Oromo (Afaan Oromo) | om |
Ossetian | os |
Pāli | pi |
Pashto, Pushto | ps |
Persian (Farsi) | fa |
Polish | pl |
Portuguese | pt |
Punjabi (Eastern) | pa |
Quechua | qu |
Romansh | rm |
Romanian | ro |
Russian | ru |
Sami | se |
Samoan | sm |
Sango | sg |
Sanskrit | sa |
Serbian | sr |
Serbo-Croatian | sh |
Sesotho | st |
Setswana | tn |
Shona | sn |
Sichuan Yi | ii |
Sindhi | sd |
Sinhalese | si |
Siswati | ss |
Slovak | sk |
Slovenian | sl |
Somali | so |
Southern Ndebele | nr |
Spanish | es |
Sundanese | su |
Swahili (Kiswahili) | sw |
Swati | ss |
Swedish | sv |
Tagalog | tl |
Tahitian | ty |
Tajik | tg |
Tamil | ta |
Tatar | tt |
Telugu | te |
Thai | th |
Tibetan | bo |
Tigrinya | ti |
Tonga | to |
Tsonga | ts |
Turkish | tr |
Turkmen | tk |
Twi | tw |
Uyghur | ug |
Ukrainian | uk |
Urdu | ur |
Uzbek | uz |
Venda | ve |
Vietnamese | vi |
Volapük | vo |
Wallon | wa |
Welsh | cy |
Wolof | wo |
Western Frisian | fy |
Xhosa | xh |
Yiddish | yi, ji |
Yoruba | yo |
Zhuang, Chuang | za |
Zulu | zu |