HTML/CSS Guide

Common HTML tags outside <body>

Tag Definition Examples (if applicable)
<!DOCTYPE: html> Declares which version of HTML is in use No examples
<html lang="en"> Declares natural language of the document (in this case english) No examples
<meta charset="UTF-8"> Specifies the character encoding for the document No examples
<title></title> Specifies title of the page (shown in the head) Screenshot of title!!!
<style></style> Edits the CSS of a particular area on the page This cell is black
<link rel= "stylesheet" href= "[External CSS file]"> Connects this page to an external CSS file, making formatting code easier No examples
<link rel ="icon" type= "image" href= "[Name of Favicon file]"> Adds a favicon to the page (shown in the head) Screenshot of title!!!

Back to Home >>