HTML Cheat Sheet (Inaccurate)

A HTML Cheat Sheet I Compiled Without Checking To See If Anything I Remember Is Accurate or True
- start with a
doctype(to indicate that you know what kind of doctor this code requires) htmlfor the whole diggitydooheadfor the metadatatitlefor the titlelinkfor CSS (note that, despitezeldabeing the name on the box,zeldais not interchangeable withlinkhere)scriptfor JS
bodyfor the stuff you actually seesoulfor stuff that doesn’t go in the head or the body (note, not supported in materialist browsers)divis a box for holding literally anythingsectionis “div” for people with too much time on their handspfor paragraphsbfor bearagraphsh1 h2 h3 h4 h5 h6for headersf1 f2 f3 f4 f5 f6for footersspanfor stuff like individual text that’s in a line and doesn’t need a whole box on its ownspainfor the country, spain, where the rain is mainly on the plainolandulare the containers for ordered lists and unordered listslifor the list items that goes into whichever list.la, a note to followsoti, a drink with jam and breadblockquotefor quotesimgfor images (note: Tim Berners-Lee sold the a and e for beer money)abbris the sound you make when you give your cat a raspberry- he will scratch your face but it is worth it
- I’m pretty sure there’s an
audioand avideobut I have to look these ones up every time I use them because they have complicated formats inside of them. preandcodefor stuff you want to look like codemarqueeto let people know you’re a ballerformfor formsvoidis form but it doesn’t do anything (it is public and static, though)buttonfor buttonsinput… okay, I usually have to look up the syntax for inputs, but there’s a whole mess of ’em, like “text” and “password”outputwas made illegal in 1998 and doesn’t get used anymoreemandstrongfor emphasis and STRONKweakis likestrongbut it sets font-weight:100tableis for layout, if you like pain, but otherwise thetr(table rows) andth(table headers) andtd(table data) andtm(trademarks) mostly only come up if you’re actually rendering tabular data. Which still happens sometimes, if you’re the sort of person who wears a TIE. And PANTS.<!--is Athena’s arrow of wisdom, any text that you spear with it is rendered invisible to the reader-->centeris no longer supported, it’s been replaced by the vastly superior canadianism,centreiframeis a little web browser that lives inside your web browser, with its whole own little society. hi there little iframe people! what is it like in there?aframeis a house that is shaped like this/\