Posted by -STUCK- Kay's HTML Guide!

Seb (#3445)

Amazing
View Forum Posts


Posted on
2013-03-16 16:22:14
Lately, a lot of members have been asking for codes on the chat, so I decided to make a guide listing all of the basic codes I know!
Remember: When using codes, remove the space between the angle brackets!

TEXT


To make a header: < h1 >HEADER HERE < /h1 > Do < h2 > FOR A SMALLER HEADER < /h2 >, < h3 >FOR AN EVEN SMALLER HEADER < /h3 >, etc.
To make italic text: < i > TEXT HERE < /i >
To make bold text: < b > TEXT HERE < /b >
To make underlined text: < u > TEXT HERE < /u >
To make colored text: < font color=#HEXCODE > TEXT HERE < /font >
To make BIG and small text: < font size=SIZE HERE > TEXT HERE < /font > [ size is decided by number. 1 for the smallest text, 7 for the biggest, etc. ]
To make a link: < a href="URL HERE" > TEXT HERE< /a >
To make a highlight: < span style="background-color:#HEXCODE" > TEXT HERE < /span >

TABLES


To make a table: < div style="width:100px;height:100px;overflow:auto;border:1px solid; background:#HEXCODE;" > TEXT HERE< /div >
This is what a table looks like!


To make a columned table: < table border="NUMBER HERE" cellpadding="NUMBER HERE" cellspacing="NUMBER HERE" width="NUMBER HERE" >< tr >
< td >Column 1< /td >
< td >Column 2< /td >
< /tr >< /table >
This is what a columned table looks like!



[ all codes posted on this topic work within tables. ]

IMAGES


To make an image: < img src="URL HERE" >
Example: carcass_zebra.png
To make a resized image: < img src="URL HERE" height=HEIGHT NUMBER width=WIDTH NUMBER >
Example: carcass_zebra.png
To link an image: < a href="URL HERE" > < img src="URL HERE" > < /a >
Example: carcass_zebra.png

OTHER


To make a space: < br >

This is what < br > does!
To make a double space: < p >

This is what < p > does!





Hrt Icon 30 players like this post! Like?

Edited on 23/03/13 by Kay (#3445)

AshleyTheClumsyOwl (#4994)

Deathlord of the Jungle
View Forum Posts


Posted on
2013-06-16 05:55:59
wait, let me try something...
territory_lion.php?id=261617

Do you know why it isn't working? I did this:
< img src="http://www.lioden.com/territory_lion.php?id=261617" >
(without the spaces)



Hrt Icon 0 players like this post! Like?


Edited on 16/06/13 by AshleyTheOwl (#4994)

Creme [Interstellar] (#9394)

Amiable
View Forum Posts


Posted on
2013-06-18 18:06:58
I'm trying to center the words in my thread. And the < center > < / center > code isn't working ?

Can you help me out please ?



Hrt Icon 0 players like this post! Like?


Edited on 19/06/13 by c r em e; main {CBC} (#9394)

Cookee (#8012)

Notable Lion
View Forum Posts


Posted on
2013-06-19 19:28:36
The highlight thingy isn't working for me so could you explain it a little further?
i did it like this,sorry btw:
Text here hello :)
apparently,it just randomly became like this ^



Hrt Icon 0 players like this post! Like?


Edited on 20/06/13 by Cookee (#8012)

Pyromancer (#13760)

Usual
View Forum Posts


Posted on
2013-06-22 21:47:47
@Ashley the owl, you're using image tags for a webpage link. You should use < a href = link > link name < / a > without spaces.

@Catalyst < center > < / center > will centre text. Without spaces.

@Cookee < span style="background-color:#HEXCODE" > TEXT HERE < /span > where is says #HEXCODE you need to put the numerical/alphabetical code for a colour, for example white is #fff so I would put:
< span style="background-color:#fff" > TEXT HERE < /span > (without the spaces)
Which would then look like:
TEXT HERE




Hrt Icon 0 players like this post! Like?

Ama (#12353)

Heavenly
View Forum Posts


Posted on
2013-06-26 10:24:38
Bookmarked <3



Hrt Icon 0 players like this post! Like?

Elphaba-Fabala-Elphi
e-Fae (#8489)

Sweetheart
View Forum Posts


Posted on
2013-06-27 05:10:15
thanks!



Hrt Icon 0 players like this post! Like?

MoonWolf (#13066)

Impeccable
View Forum Posts


Posted on
2013-07-07 09:37:49
I worked for me



Hrt Icon 0 players like this post! Like?

Aveo (#6612)

Deathlord of the Jungle
View Forum Posts


Posted on
2013-07-10 00:48:44
Tracking!



Hrt Icon 0 players like this post! Like?

Galaka ~LAWS~ <3
MB Hot C's (#14810)

Remarkable
View Forum Posts


Posted on
2013-07-11 02:08:24
Bookmarked ^_^



Hrt Icon 0 players like this post! Like?

Renarai II (#14910)

Magnificent
View Forum Posts


Posted on
2013-07-27 18:12:35
I can't get the images to work.

I tried to post this and others.
d6fil9q



Hrt Icon 0 players like this post! Like?

Kelikei (#15050)

Usual
View Forum Posts


Posted on
2013-07-29 11:27:11
This is what happens when I use the resizing link. Why isn't my picture showing up?


4M-Albino-Stat-51-389294646



Hrt Icon 0 players like this post! Like?

Wild (#14837)

Sweetheart
View Forum Posts


Posted on
2013-08-01 20:16:37
This is helpful, but I'd like to know how to change the color of the links on my den page, would you happen to know the code for that?

Also would you know the code for coloring a the heading?



Hrt Icon 0 players like this post! Like?

Minton (#16105)

Hateful
View Forum Posts


Posted on
2013-08-09 05:24:17
So what would you do if you wanted large Colored text that's italic ?



Hrt Icon 0 players like this post! Like?


Edited on 09/08/13 by TB Lover (#16105)

Hircine (#5961)

Savage
View Forum Posts


Posted on
2013-08-19 18:00:48
I'm gonna test them out here, and thankies :3

Poof< /front>



Hrt Icon 0 players like this post! Like?

Hircine (#5961)

Savage
View Forum Posts


Posted on
2013-08-19 18:03:59
< front color=#blue>Poof< /front>



Hrt Icon 0 players like this post! Like?







Memory Used: 624.52 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00649s