HTML/CSS Guide - part 2

Common HTML Tags outside of <body>

click here to be redirected to inside.html

Tag Definition Example
<!DOCTYPE html> tells the browser that you are using the HTML language *no example*
<html lang="en"> tells the browser that the website is in English, which helps websites like Google Translate translate the page. if you right click and click translate page... þú munt geta lesið þessa skilaboð
<meta charset="UTF-8"> tells the browser how to interpret the inputs into words that you can use to program the page *no example*
<title>...</title> creates a title for the page png
<style>...</style> makes internal CSS for the page this cell is black because of
<style>...</style>
<link rel="stylesheet" href="..."> points to an external CSS file this page and the homepage use the same external style.css file that controls the UI of the page
<link rel="icon" type="image/x-icon" href="..."> creates a favicon for your page png