Posted by Athene's HTML and Coding Guide

Ember, She/They
(Kokuyo) (#69092)

Impeccable
View Forum Posts


Posted on
2015-12-28 04:10:11

Athene's HTML and Coding

This is for everyone who has been wondering how to make hyperlinks, boxes, etc. Remove all asterisks before using.



Basics:

To post a picture you use this
<*img src="IMAGE LINK"*>
The image link can be made on websites like TinyPic. With them you need to have a copy of the image saved on your computer. You upload the image onto the site and they give you the link.

To make a hyperlink
<*a href="WEBSITE LINK">TEXT HERE<*/a*>
In the website link area this is where you put the website's or web page's address. The text here is where you put the text you want hyperlinked. The last is merely a stop code. It keeps it from hyperlinking everything you post after the initial <*a href=""*>
An example would be posting a hyperlink for a lioness
<*a href="http://www.lioden.com/lion.php?id=509533270273"*>Nagi<*/a*>
It comes out as:
Nagi



Now that you've got the basics of how it works, here's some other simple and useful things:

Bold: <*b>TEXT<*/b> Bold
Italics: <*i>TEXT<*/i> Italics
Underline: <*u>TEXT<*/u> Underlined
Strike Out: <*strike>TEXT<*/strike> Striked out
Page Break: <*br> Used to create a space between paragraphs.
Paragraph: <*p>TEXT<*/p> Used to create paragraphs



A bit more complex basics:

How to make a text aligned how you want
<*p style="text-align:center;"*>TEXT<*/*p>
The one above allows you to make your text align to the center like the top of this post. You can change the center to left or right depending on how you want it aligned.

Colored text
<*font color="HEX CODE HERE">TEXT<*/font>
Different hexcodes are used for different colors. This website is a hexcode generator. You can find and get a code for whatever color you want with this.
Here are some basic colors:
Blue: 0000FF
Orange: FFA500
Purple: 800080
Red: FF0000
Yellow: FFFF00
Green: 008000
Grey/Silver: C0C0C0
Snowblind Blue: 6c9cc1

Highlighting
<*span style="background-color:#HEXCODE" >TEXT<*/span>
Like the above you will need a hex code for this. The color you choose will highlight the text.

Font size
<*font size="1">TEXT<*/font*>
There are different sizes ranging from 1-10.
Font 1
Font 2
Font 3
Font 4
Font 5
Font 6
Font 7
You get the point.

Font Styles
<*p style="font-family:verdana;">TEXT<*/p*>

This is what makes the different styles like verdana.


Or even Comic Sans!

This website lists some good web safe fonts.


More fun stuff

Headers
<*h1>TEXT <*/h1>
Once again there are different sizes of headers.

Header 1

- h1

Header 2

- h2

Header 3

- h3

Tables
<*div style="width:100px;height:100px;overflow:auto;border:1px solid; background:#HEXCODE;"*>TEXT<*/div>
This allows you to make tables in your den and posts. You can change the size by changing the width and height px. The overflow:auto means that if you write larger than the table that the scroll bar will automatically show up. The border:1px is the standard border size. You can make the border thicker by increasing that. The background color can also be changed with the hex codes. If you want a transparent background, just take that out. Below is the size of table I use in my den.
<*div style="width:820px;height:475px;overflow:auto;border:1px solid;">TEXT<*/div>

Scrolling Tables
<*div style="border:1px solid black;width:150px;height:100px;overflow-y:hidden;overflow-x:scroll;"*><*/div>
The one above creates a scrolling horizontal table. If you want a vertical one, simply change the overflow-y: to scroll instead of hidden and change the overflow-x to hidden instead of scroll.

Columned Tables
<*table border="NUMBER HERE" cellpadding="NUMBER HERE" cellspacing="NUMBER HERE" width="NUMBER HERE"><*tr>
<*td>Column 1<*/td>
<*td>Column 2<*/td>
<*/tr><*/table>
That's a lot isn't it? You enter the text for the columns where it says Column 1 and Column 2. Let me show you what that looks like. Here's the coding:
<*table border="1" cellpadding="1" cellspacing="100" width="300"><*tr>
<*td>Column 1<*/td>
<*td>Column 2<*/td>
<*td>Column 3<*/td>
<*/tr><*/table>
Here's what it looks like:
Column 1 Column 2 Column 3

Floating Boxes/Tables
<*div style="position:fixed;left:0px;bottom:0px;width:165px;height:200px;border:5px solid;overflow:auto;">TEXT<*/div>
Like the others you can resize this. These can only be used in dens. You can fix it anywhere in your den.

Picture resizing
<*img src="URL HERE" height=HEIGHT NUMBER width=WIDTH NUMBER>
Now that you can put in pictures and you've made tables, you can resize those images. Basically, but how large you want the width and height where it say and that is the only thing added. For this I would suggest pulling up IfranView or Photoshop because you can get the dimensions there. Or, you can use those same programs to resize them and upload them again.



Combining
This will show you how to combine all this. Now, most everything on this page can be combined.


Hyperlinking a Picture
<*a href="WEBSITE OR WEB PAGE LINK"><*img src="IMAGE LINK"><*/a>
Basically, instead of text in the middle of the hyperlink you add the picture.


Here's the coding I used to make the page title:
<*p style="text-align:center;"><*font color="#6c9cc1" size="4"><*b>PAGE TITLE OR TEXT<*/b><*/font>

I put the paragraph (p style) first to make a format for the page. If you want a whole page and not just that paragraph to be in that alignment, don't add the on the end or add it at the very bottom of the page. If I had wanted to under p style="" I could have also added in the font family from above. It would have followed as text-align:center;font-family:Comic Sans MS;.

I did the same with the font. Both color and size are under that category so you can add them on as shown above.

And then I just added the bold on. Make sure you get the <*/b>, <*font>, and <*p> in reverse order than what the beginning code was.


Den Coding
Den coding is something I will not get into it very complex and you have to have a good understanding of all this to make one. However, there are people on Lioden who will make free ones for you or will make custom ones for payment.
Here are some free den CSS: Di's Free CSS Codes!, Darklily's Den CSS, Winter CSS, and you can always search for more.

Was there something I forgot? Please comment below and I will add it in. If you need more help or want to learn more here is a good place to look.



Hrt Icon 19 players like this post! Like?

Edited on 29/12/15 @ 08:06:17 by Athene N (Vongola) (Snowblind) (#69092)

FreckledEly (#164898)

Usual
View Forum Posts


Posted on
2019-01-06 11:24:54
Testing some of it

<*p style="text-align:center;"*>Welcome! I'm more than happy to welcome you all to my art market.<*/*p>
<*img src="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/intermediary/f/c3e4ec46-ab83-434a-b983-73f8f31c0264/dcr1bvd-bcd8328c-20d9-4673-8ad5-4cd4e61215b3.jpg/v1/fill/w_800,h_1000,q_70,strp/runnan_by_freckledely_dcr1bvd-pre.jpg"*>



Hrt Icon 0 players like this post! Like?

🚀Rocket🚀
[ɢ𝖑 ɢʟᴀss]
~Hiatus (#141233)

Studmuffin
View Forum Posts


Posted on
2019-05-15 16:15:30



Hrt Icon 0 players like this post! Like?


Edited on 15/08/19 @ 14:07:35 by Çömėt ☄️ (#141233)

Nybras (#72598)

Astral
View Forum Posts


Posted on
2019-07-19 04:25:42



Hrt Icon 0 players like this post! Like?


Edited on 19/07/19 @ 04:25:58 by Nybras (#72598)

Grumble (#168742)

Usual
View Forum Posts


Posted on
2019-12-30 13:26:36



Hrt Icon 0 players like this post! Like?


Edited on 30/12/19 @ 13:27:31 by Grumble (#168742)

Kittie 🖤 (#208103)

Bone Collector
View Forum Posts


Posted on
2020-08-09 00:58:28

Test



Hrt Icon 0 players like this post! Like?

Kittie 🖤 (#208103)

Bone Collector
View Forum Posts


Posted on
2020-08-09 01:16:54
lroXZi4.jpg

Fir a test



Hrt Icon 0 players like this post! Like?

Kittie 🖤 (#208103)

Bone Collector
View Forum Posts


Posted on
2020-08-09 01:17:29
lroXZi4.jpg



Hrt Icon 0 players like this post! Like?

Doppio ♀ (#217123)

Majestic
View Forum Posts


Posted on
2021-05-05 10:44:14
<*b>Test<*/b>



Hrt Icon 0 players like this post! Like?

clementine |
she/they/its (#218151)

King of the Jungle
View Forum Posts


Posted on
2021-06-29 09:40:22
super duper useful! Tysm



Hrt Icon 0 players like this post! Like?

Khalid (#234982)

Sapphic
View Forum Posts


Posted on
2021-10-26 10:57:04
I tried to post a picture in my lion's bio but it just had a picture symbol and the alt name for the link



Hrt Icon 0 players like this post! Like?

Corruptedhyena (#243378)


View Forum Posts


Posted on
2022-03-08 15:09:29
Figured this out



Hrt Icon 0 players like this post! Like?


Edited on 08/03/22 @ 15:30:21 by CorruptedHyena000 (#243378)

Corruptedhyena (#243378)


View Forum Posts


Posted on
2022-03-08 15:10:34
How would I change the box color itself? And how can i make my background a picture (not just in the bio)



Hrt Icon 0 players like this post! Like?


Edited on 08/03/22 @ 15:31:56 by CorruptedHyena000 (#243378)

Jaxx's I I rin's
sugar son (#245965)

Kind
View Forum Posts


Posted on
2022-03-20 11:24:47
like this ?
df22zw3-82608783-9aef-4580-aa23-b0aa085799ed.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzVkMzNlYzU1LTRmMTEtNDFhMC04ZDVjLWVmOTFhYTM5ZWZjY1wvZGYyMnp3My04MjYwODc4My05YWVmLTQ1ODAtYWEyMy1iMGFhMDg1Nzk5ZWQucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.BRa6fUfwxAj8Ys6mQL8-WHK3GLjXyGG2g6UDM0T61ag



Hrt Icon 0 players like this post! Like?


Edited on 20/03/22 @ 11:25:06 by Feed ur ego away i'm busy (#245965)

JaeBird (#291195)

King of the Jungle
View Forum Posts


Posted on
2022-07-06 10:38:52
How do I give the table a image background I wanna sell custom tables



Hrt Icon 0 players like this post! Like?

Paw (GIRL) (#300585)

Divine
View Forum Posts


Posted on
2022-07-26 01:34:37
<*img scr=https://www.lioden.com/lion.php?id=794165733274*>



Hrt Icon 0 players like this post! Like?







Memory Used: 637.11 KB - Queries: 2 - Query Time: 0.00086 - Total Time: 0.00585s