5 Required Html5 Tags

Html is a hypertext markup language. It uses tags < , > and /> . Here is a list of 5 required html5 tags

Required html5 tags
  1. <!Doctype> Describes the type of document
<!DOCTYPE HTML>

2. <html> Creates html document. It’s at beginning and end of an html file

<!DOCTYPE HTML><html>...</html>

3. <head> For document title and meta tags, content types and links to external files eg styling files like css, and favicon which is a logo-icon showing up on the browser window.

<!DOCTYPE HTML><html>  <head>
...
</head>...</html>

4. <title> Displays the title bar which shows up as text in the browser window. It’s useful for bookmarking pages.

<!DOCTYPE HTML><html>  <head>
<title>...</title>
...
</head>...</html>

5. <body> For all other content.

<!DOCTYPE HTML><html>  <head>
<title>...</title>
...
</head> <body> ...
</body>
</html>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store