Home Entrance Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
December 01, 2023, 04:31:37 pm - @688.62
Forum activity rating: Two Star Posts: 23/24hrs Unread Topics | Unread Replies | Own Posts | Own Topics | Recent Posts
News: Art will save the world!

+  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 323 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, 08:54:48 pm »

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, 12:09:42 am by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
awhe
Sr. Member ⚓︎
****


NEET elite

StatusCafe: awhe

View Profile WWW

First 1000 Members!Konata!Joined 2023!
« Reply #1 on: July 04, 2023, 10:43:03 pm »

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

be kind.
shevek
Sr. Member ⚓︎
****


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

iMood: daintyeco

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #2 on: July 04, 2023, 10:55:24 pm »

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
Jr. Member ⚓︎
**


zjerb

SpaceHey: Friend Me!
iMood: kurohaato

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #3 on: July 05, 2023, 12:08:33 am »

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 :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, 11:51:43 am »

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, 01:09:21 pm »

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, 05:13:55 pm »

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
Jr. 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, 06:03:20 pm »

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: 2106
Last post December 03, 2021, 06:09:13 am
by DoctorScreech
What do you use to code websites?

Started by neoratzBoard ✁ ∙ Web Crafting

Replies: 62
Views: 4449
Last post October 29, 2023, 06:02:58 pm
by wetnoodle
HTML Journal and the Neon Kiosk (Easy RSS feeds for site news)

Started by m15oBoard ⚛︎ ∙ Resources, Tools and Services

Replies: 12
Views: 2549
Last post April 24, 2023, 08:36:11 pm
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