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, despite "zelda" being the name on the box,zeldais not interchangeable withlinkhere)scriptfor JSbodyfor the stuff you actually seesoulfor stuff that doesn't go in theheador thebody(note, not supported in materialist browsers) (p.s. soul is only available if you are a soldier, unless you are in The Killers)divis a box for holding literally anythingsectionis "div" for people with too much time on their handspfor paragraphsbfor bearagraphsh1h2h3h4h5h6for headersf1f2f3f4f5f6for footersspanfor stuff like individual text that's in a line and doesn't need a whole box on its ownspainfor the country, spain, where therainismainly on theplainolandulare 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 theaandefor beer money)abbris the sound you make when you give your cat a raspberryhe 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 formsvoidisformbut 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 'emoutputwas made illegal in 1998 and doesn't get used anymoreemandstrongfor emphasis and STRONKweakis likestrongbut it setsfont-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/\


