HTML/CSS Guide

Common HTML Tags outside body

HTML inside guide
Tag Definition Example
<!DOCTYPE html> tells the browser to decipher the code as HTML ts website works yay <3
<html lang="en"> tells the browser the main language of the page is English translate example
<meta charset="UTF-8"> defines the character encoding used by the webpage 👍🏿
<title>my website</title> sets the tab title at the top of the browser check the tab name
<style> used to define CSS inside the same HTML document internal CSS example
<link rel="stylesheet" href="style.css"> loads CSS from an external stylesheet external CSS
<link rel="icon" type="image/x-icon" href="favicon.ico"> sets the icon in the browser tab look at your tab