Posted by -STUCK- Unofficial Lioden HTML Forum Help Thread

EasyPlesi (#23249)

King of the Jungle
View Forum Posts


Posted on
2014-05-03 10:43:34

the unofficial HTML help thread

feel free to practice your HTML in the comments below!
updated: 1/19/2024

table of contents

➜ the basics
code opening + closing: bold, italic, underline, strike, blockquote, spoiler
➜ fonts + headers
changing the color, type, alignment and size of your font
➜ images
image hosting, posting, resizing, and more!
➜ links
making clickable words + images
➜ combining codes
using what you learned in the steps above.

the basics

notice: remove the asterics * from the codes before use.

➜ code opening and closing

before we begin, you need to understand the most basic rule of coding: each code, in order to work properly, must have an opening and a closing. The opener defines where your code begins, and the closer defines where you want your code to end. Forgetting one or the other can mess with the rest of your code: forgetting to close a link, for example, will turn the rest of your post into a link. Openers are typically defined with a <* > symbol, where closers are typically defined with a <*/> . There are some cases where you don't need to worry about closing your codes, but it is generally good practice to remember to close it.

➜ bold

This is a normal sentence. This is a normal sentence, but in BOLD.
code: <*b>your bold statement goes here.<*/b>

➜ italics

This is a normal sentence. This is a normal sentence, but ITALIC.
code: <*i>your italic statement goes here.<*/i>

➜ underline

This is a normal sentence. This is a normal sentence, but UNDERLINED.
code: <*u>your underlined statement goes here.<*/u>

➜ strike

This is a normal sentence. This is a normal sentence, but STRIKED OUT.
code: <*s>your striked out statement goes here.<*/s>

➜ blockquote

This is a normal sentence.

note: blockquotes will break in tables like the one its in. the only fix ive found is to create a new table inside of the blockquote. If you're not putting a spoiler into a box code, you do not have to worry about this.
code: <*blockquote>your quoted statement goes here.<*/blockquote>

➜ spoiler

This is a normal sentence.
note: spoilers will break in tables like the one its in. the only fix ive found is to create a new table inside of the spoiler, which will reveal a new box when clicked. If you're not putting a spoiler into a box code, you do not have to worry about this.

code: [*spoiler]your spoiled statement goes here.[*/spoiler]

Q: can I change what the spoiler button looks like?
A: not on forums :(

fonts + headers

notice: remove the asterics * from the codes before use.
- = - = -


➜ headers

about headers: there is nothing you can do to style headers in forum posts. I 1000% reccomend you play with font sizes instead if you want to get fancy. The only way to style headers (changing their color, font, size, etc.,) would be through css which is extremely limited in forum posts. Below are the example sizes and styles of each.
code(s): <*h1>header one<*/h1> , <*h2>header two<*/h2> , <*h3>header three<*/h3>

➜ font color
There are a few ways to change color! Below are two different codes you can use to change the color of your text. Please be aware of readability when choosing font color - I bet you had a pretty hard time reading all of the words in the first sentence of this section. Could you imagine trying to read the entire post like that?
code one: <*font color=red/orange/yellow/etc>Your sentence goes here.<*/font>
code two: <*font color=#HEXCODE>Your sentence goes here.<*/font>

➜ font size

Font size will differ from 1 to 7, with 1 being as small as can be, and 7 being larger than most headings.
1 2 3 4 5 6 7
code: <*font size=0>Change the 0 from any number between 1 to 7.<*/font>

➜ changing fonts

Changing your font can sometimes be its own monster, and requires a different sort of code, which I refer to as "p styles" for. obvious reasons. These style entire paragraphs, and can be edited in various ways which we will touch more upon beneath "combining codes".

Lets change your font.
code: <*p style="text-align:center;font-family:Constantia;">"Constantia" can be changed to a set of various different fonts to give it a unique style. Be warned, not all fonts will work here. However, fonts like Georgia, Times New Roman, and Comic Sans can all be used on Lioden.<*/p>

This is another option, and requires less work - although, only comes out looking like this. It's called Typewriter Text.

code: <*tt>Would you believe I've been here 10 years and had no idea this existed?<*/tt>

images

notice: remove the asterics * from the codes before use.
- = - = -


➜ hosting

In order to post images, they must be "hosted" somewhere - what this means, is that images saved to a device (like in your pc image folder) must be posted to a hosting site like imgur so you can access the Image URL. I'll be using Imgur in my examples of how to find your image url. The easiest way is to right-click on the hosted image, and scroll down to "copy image address". However, imgur will also give you the "direct link" without the necessity of right clicking if you don't have the capability for whatever reason. If that doesn't work, you can also drag the image into a new tab, and copy the link in the searchbar.



➜ posting

Once you have your Image URL/Image Address/Direct Link (all names for the same thing), you'll be able to post it using the code below. There are two different options because I've noticed some browsers really hate quotation marks. Replace "URL" with the url you got from the above step.

code: <*img src="URL"> / <*img src=URL>
another code: <*img src="URL"<*/img>

➜ resizing

You've got your image, but its too big/too small for your forum! What now? Don't worry about using a program to resize the image, the code above is more than capable of doing it for you. There are two different metrics you can use to change an image's size: pixels, and percentages. Pixels will resize an image for you down to the specific pixel, where percentages will resize an image for you based upon the container it fits within. I use "width" in the code, leaving height to automatically resize itself, but you can swap width out for height to get the same effect.

code (pixels): <*img src="URL" width=500px> / <*img src=URL width=500px>
code(percentages): <*img src="URL" width=85%> / <*img src=URL width=85%>

➜ Image Titles

You know how sometimes when you hover over an image and you get a little blurb explaining what it is? You can do that too :) Hover over the image below if you're unsure what I mean.



code: <*img src="URL" title="hello world!"> / <*img src=URL title="hello world!">

links + clickables

notice: remove the asterics * from the codes before use.
- = - = -

➜ Links

this is another one of those annoying ones that rely on what browser you have - some just hate quotation marks. You will have to see which, or if both, work for you. In order to get a clickable link, you must first have a destination. Once you have a destination, copy the address from the top of the page. This is called a page url, or page address.


example: What do you want your link to say?
code: <*a href="PAGEURL">What do you want your link to say?<*/a> / <*a href=PAGEURL>What do you want your link to say?<*/a>

➜ Clickable Images

Remember in the last step where we learned how to grab an image url and a page url? Time to put your knowledge to the test. You can also add titles and/or resize your images.



code: <*a href="PAGEURL"><*img src="IMAGEURL"><*/a> OR <*a href=PAGEURL><*img src=IMAGEURL><*/a>

combining codes

notice: remove the asterics * from the codes before use.
- = - = -

➜ the Basics

You can combine a lot of the above codes, so long as you remember the proper code openings and closings. There are a few limitations like changing the colors of links, headers, and buttons, but this thread will give you a good start into the html of Lioden.

➜ p style crash courses

Remember how I said back in fonts that p style codes were unique? Well, thats because they have the capability of changing multiple factors in one string of code. (The box that this tutorial is in is a mass connection of p style codes!) I'm not going to go too far into depth, but you can create a 'string' of code by combining a lot of the codes you learned above into one string to style an entire thread, paragraph, or section. The main difference is that instead of the codes being separate entities, they'll be in one line separated by ;s.

some things you can change in one p style code
font, font color, font size, font weight, alignment, background color, text transform, and more.



example code:
<*p style="text-align:center;font-family:comic sans MS;font-size:15px;color: purple;text-transform:uppercase;">I can change the alignment, size, color and font all in one line of code. Have fun, coders!<*/p>




Hrt Icon 59 players like this post! Like?

Edited on 19/01/24 @ 19:28:41 by EasyPlesi (#23249)

meow mix (#94139)

King of the Jungle
View Forum Posts


Posted on
2017-03-11 07:55:58
Yup! Right in the middle of the two codes!



Hrt Icon 0 players like this post! Like?

⍟ chennie 🏜️
g1 olive nrlc (#84624)

Lone Wanderer
View Forum Posts


Posted on
2017-03-11 08:10:02
This is just for you, random Sam: SAM



Hrt Icon 0 players like this post! Like?

Jazzy (#75773)

Famous
View Forum Posts


Posted on
2017-03-11 08:14:59
I am so confused ^



Hrt Icon 0 players like this post! Like?

domo233 (#102512)

Sapphic
View Forum Posts


Posted on
2017-03-11 11:57:41
Hi. I tried to put a picture in my post and it worked...but it was blank for some reason. It would be great if someone could help me out!




Also, do you by chance know how to change your avatar? When I tried it came up blank.

thx <3



Hrt Icon 0 players like this post! Like?


Edited on 11/03/17 @ 19:00:56 by tuna (#102512)

meow mix (#94139)

King of the Jungle
View Forum Posts


Posted on
2017-03-11 12:19:38
for the picture, im not entirely sure what happened, but ive seen things like that before.. could i see the url you used for it?
also, for the avatar thing, go to your profile page and scroll down until you see the Edit Your Details section. theres a subsection titled Avatar URL, and if you want a premade avatar (the premade ones are like in game decors, encounters, and other random things. using a premade url might be a bit easier than trying to find/make something thats 150 x 150 pixels or less, idk tho)



Hrt Icon 0 players like this post! Like?

domo233 (#102512)

Sapphic
View Forum Posts


Posted on
2017-03-11 12:32:09
I used this: <*img src="http://imgur.com/a/RvK8p" width=510*> and I removed the asterisks too



Thanks guys for helping me but it's ok, I figured it out. I just used TinyPic instead of Imgur.



Hrt Icon 0 players like this post! Like?


Edited on 12/03/17 @ 18:25:08 by tuna (#102512)

⍟ chennie 🏜️
g1 olive nrlc (#84624)

Lone Wanderer
View Forum Posts


Posted on
2017-03-12 11:08:26
Thas not the url.



Hrt Icon 0 players like this post! Like?

cady bug (#107206)

Pervert
View Forum Posts


Posted on
2017-03-12 11:21:05
For tuna remove the * if have not figured out C:



Hrt Icon 0 players like this post! Like?

Cota'sPride (#95197)

King of the Jungle
View Forum Posts


Posted on
2017-03-19 02:05:08
How do i use the image of my lions? I know how to add any other img but i can never do my lions because it always pulls up a blank page.



Hrt Icon 0 players like this post! Like?

⍟ chennie 🏜️
g1 olive nrlc (#84624)

Lone Wanderer
View Forum Posts


Posted on
2017-03-19 03:02:36
You have to post it on imgur or something. Idek.



Hrt Icon 0 players like this post! Like?

Cota'sPride (#95197)

King of the Jungle
View Forum Posts


Posted on
2017-03-19 03:08:50
ok thanks



Hrt Icon 0 players like this post! Like?

meow mix (#94139)

King of the Jungle
View Forum Posts


Posted on
2017-03-19 04:13:15
@tuna So I went to the link you provided (http://imgur.com/a/RvK8p) and while that does display the picture, its not the url. Right click and press "copy link", then post that into a new tab. See how the picture is now on a blank white page, with only the picture? Also, and more importantly, that the link ends in .png? (these codes at the end of urls are called "file extensions" and basically describe the format of the file. Others that are common to photo files include .png, .gif, and .tiff. (there are other kinds too, such as .ppt or .pptx, which are for powerpoints, .docx for word files, and .pub for publisher files. I'm getting slightly off topic though)) Well, that's the code you wanna use!
so like this:
<*img src="http://i.imgur.com/zzQXEIB.png" width=510*>

Now in general!
To get the url for the image, you have to either open the image in a new page (if possible) or save the image and upload it to a picture hosting site like tinypic.
For example!
Bengal-cat-has-serious-expression.JPG
This is an image I got off of bing when I searched "cat". When I click the image, it brings up the picture, covering most of the screen, and provides a link to the webpage it was originally posted on below the picture. This is the screen I'm currently at! Take note, the link I provide here is the one displayed at the top of the webpage!
https://www.bing.com/images/search?view=detailV2&ccid=xUVsJOls&id=ED7190546A988D9601332E8DF7CF6C440D981B67&q=cat&simid=608010960689562621&selectedIndex=0&adlt=strict&ajaxhist=0
Now, if I click the picture again (for google, I think you may have to right click and press "open picture in new tab" - not sure) it will bring up the picture on an other wise blank page, with a link at the top (http://www.freyacat.co.uk/wp-content/uploads/2009/07/Bengal-cat-has-serious-expression.JPG) that ends in .jpg, which tells me that the link is a url for a picture. Once ive determined that the code is the url for the picture, I can copy and paste it into this code: <*img src="IMAGE URL" width=510*> which will allow me to display the picture.

Sometimes, its not as easy as finding a picture on google and using that url! Now ill describe the process I use to put my own pictures into posts! (take note, this is a drawn out, awful process - which I strongly dislike. if anybody has any better suggestions, please tell me, cuz this sucks!)
On Lioden, to use a photo of a lion, I often like to export the lion in the lion wardrobe, so I can modify its appearance to however I want it to show up. Its fine if you just want to use the lions appearance as its displayed in your den though! Once I have it how I want it, I take a screenshot, and crop it to only have the lion (you can leave it as it is, but I think it usually looks better if I crop it) Once I have the picture, I upload it to http://tinypic.com/ (there are other image hosting sites like tinypic, so you can use those if you want, but tinypic is the first thing that comes to mind for me.) It should work just fine for mobile users, just press "choose file" and browse your device until you find the picture you want. On my phone, when I press choose file it gives me four options, "camera", "camcorder", "voice recorder", and "documents". The camera, camcorder, and voice recorder options would be if I wanted to take a new picture, video, or voice recording and upload that, but we want to go to documents and find our pre-existing picture file. This may only be specific to my kind of phone, but I'm pretty sure for just about anybody your documents will have some kind of dropdown thing that'll show a bunch of different file locations, like camera, audio, downloads, google drive, gallery, etc. It'll likely be easiest to just go to Gallery and look for your file there, probably in a screenshots folder. Once you find it, select the file. Tinypic will bring you back the the "upload images and videos" page. Select what kind of file it is, and if you want you can enter an email for tinypic to send the image to. Press "upload now", enter any security code it gives (the kinda thing that verifies that youre human) and itll upload your picture! Now you can copy and paste the "HTML for websites", which already includes any codes you need, and post it to whatever youre using the picture for! I did this using just a random picture I have, and it gave me this: <*a href="http://tinypic.com?ref=2rervba"*><*img src="http://i68.tinypic.com/2rervba.png" alt="Image and video hosting by TinyPic"* /> (just without the asterisks) which I can post directly here, as it already include any codes I need!
Image and video hosting by TinyPic
Now, if anybody more knowledgeable than me notices anything ive gotten wrong or any method I could improve, please tell me and ill fix it! This isn't really an official guide, just my personal interpretation of a very confusing subject!



Hrt Icon 0 players like this post! Like?


Edited on 19/03/17 @ 11:36:05 by ☼Sam☼ (#94139)

Kim [Ice Colorbomb
primal] (#109898)

Savage
View Forum Posts


Posted on
2017-06-09 18:52:57
<*img src="IMAGE URL" width=510*>



Hrt Icon 0 players like this post! Like?

Veil (#120388)

Protector
View Forum Posts


Posted on
2017-07-27 20:07:38
Hi thread! I'm trying to add just some super duper basic stuff to fancy up my lion's page a bit. I made a short n sweet css page and uploaded it to my website and I'm trying to reference it but it is not taking. The html formatting all worked fine but I know the css file isn't being ref'd because my background color is not currently black. What the heck am I doing wrong? I feel like my code can't get much more dummyproof, it's such elementary stuff because I was trying to stay within my skill level here... halp?



Hrt Icon 0 players like this post! Like?

Hibi (#116727)

Prince of the Savannah
View Forum Posts


Posted on
2017-07-28 00:09:26
@Veil:
Send the CSS code to me, I can take a look if you want



Hrt Icon 0 players like this post! Like?







Memory Used: 654.80 KB - Queries: 2 - Query Time: 0.00036 - Total Time: 0.00638s