Home Entrance Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
March 29, 2024 - @500.59 (what is this?)
Forum activity rating: Three Star Posts: 46/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :ozwomp: Reminder: Forum messages stay readable for years! Keep yours high quality! :ozwomp:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  HTML and CSS code you ALWAYS forget?


« previous next »
Pages: [1] Print
Author Topic: HTML and CSS code you ALWAYS forget?  (Read 469 times)
Melooon
Hero Member ⚓︎
*****


So many stars!

SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

First 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!The Smallest Ozwomp Known To ManBug!
« on: July 04, 2023 @829.72 »

Sometimes you just cant learn things; no matter how many times you have to do them, you end up having to look them up anyway!?!?

For me its linking CSS files, I can never remember this line:  :ohdear:
Code
<link href="/styles/common.css" rel="stylesheet" type="text/css" media="all" />

Also tables; do the <tr>'s go in the <td>'r or.. no its the other way round.. and is a <th> or a <td> the one I want..

What are the codes you have a hard time remembering??  :dunno:
« Last Edit: July 05, 2023 @965.07 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
Guest
Guest
« Reply #1 on: July 04, 2023 @904.90 »

Same brain here for the table! I can never remember the specific order of elements there, and always end up referring to previous code or copying and pasting a template LOL.

I also routinely forget to add target=_blank at the end of my links, as well as that favicon line of code!
Code
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">

I've no idea why! Because I use all of these things near enough every day LOL!  :dive: But just like you said;
Sometimes you just cant learn things; no matter how many times you have to do them,
Logged
shevek
Sr. Member ⚓︎
****


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷

iMood: daintyeco

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #2 on: July 04, 2023 @913.47 »

I think ahead so hard to the actual CSS, HTML etc. that I wanna write so when I sit down to actually write, I suddenly blank out and forget the first few lines...

so

Code
<!DOCTYPE html>
<html>

<head>
    <meta charSet="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>the title</title>
    <meta name="title" content="the title" />
    <meta name="description" content="thee description" />

is something I have had to copy over from my other files like 20 different times now..
It's just super boring and I wanna go to the actually interesting stuff.
Logged

Odo was just an idea. Shevek is the proof.
kurohaato
Full Member ⚓︎
***


:D

SpaceHey: Friend Me!
StatusCafe: rinrinrin
iMood: kurohaato
Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #3 on: July 05, 2023 @964.27 »

I always forget how to change the fonts. I know google fonts makes it easy with their copy and paste but if I just want to use Calibri or something I have to go look up the code. And then the code's just:
Code
font-family: Arial, Helvetica, sans-serif;
Logged


01110110 01101001 01110110 01100001 00100000 01101100 01100001 00100000 01101111 01111010 01110111 01101111 01101101 01110000 00100001 00100000 00111010 01000100 :ozwomp:
TheNothingMonster
Full Member ⚓︎
***


Hey psst! Wanna see something spooky?

StatusCafe: thenothingmonster
Matrix: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #4 on: July 05, 2023 @452.58 »

I constantly have trouble remembering the flexbox properties. Dealing with flex is already difficult to comprehend by itself too lol.

Code
.flexbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    /*etc...*/
}

For some weird reason I also find myself searching how to create iframes even though they are not that difficult to learn by heart. :drat:

Code
<!DOCTYPE html>
<html>

<head>
    <meta charSet="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>the title</title>
    <meta name="title" content="the title" />
    <meta name="description" content="thee description" />

is something I have had to copy over from my other files like 20 different times now..
It's just super boring and I wanna go to the actually interesting stuff.

Same here! I have never memorised the meta tags. I keep on copying and pasting them around for convenience.
Logged

~~~~~~~~~~~~
Guest
Guest
« Reply #5 on: July 05, 2023 @506.49 »

One of the HTML codes that I always forget and can't quite remember is that metatag to redirect to another page. Sometimes I have to open another tab and search Google DuckDuckGo for the code lol

Code
<meta http-equiv="Refresh" content="0; url='https://example.com'" />
Logged
Guest
Guest
« Reply #6 on: July 05, 2023 @676.33 »

I usually use existing pages on my site as reference, so I don't actually need to type any of these more obscure tags. :evil:
Logged
lime360
Full Member ⚓︎
***

hi.

SpaceHey: Friend Me!
StatusCafe: lime360
iMood: lime360
Matrix: Chat!
Itch.io: My Games

View Profile WWW

First 1000 Members!Joined 2022!
« Reply #7 on: July 05, 2023 @710.65 »

the meta viewport tag
Logged

Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Deltarune Chapter 2 and The Goner Code

Started by DoctorScreechBoard ♖ ∙ Video Games

Replies: 0
Views: 2483
Last post December 03, 2021 @256.40
by DoctorScreech
What do you use to code websites?

Started by neoratzBoard ✁ ∙ Web Crafting

Replies: 62
Views: 5179
Last post October 29, 2023 @752.06
by wetnoodle
HTML Journal and the Neon Kiosk (Easy RSS feeds for site news)

Started by m15oBoard ⚛︎ ∙ Share your Resources

Replies: 12
Views: 2764
Last post April 24, 2023 @816.79
by shevek

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi