The SnapeTastic Guide to HTML!

To submit possible content for the main site
User avatar
Snape
Site Admin
Posts: 7890
Joined: Thu Feb 17, 2022 8:24 pm
Location: Britland
Great Britain

The SnapeTastic Guide to HTML!

Post by Snape »

Ok so this is basically for those who have *no* idea how HTML works and are interested in helping out with the site content.The main thing you need to know about HTML is that it uses tags. These are simple commands placed before and after text to set the format of that text. For example...[code:1:642ff74b27]<B>This is Bold!</B>[/code:1:642ff74b27]Will display as:This is Bold!The opening tag is setting all following text to bold until that tag has been closed off, normally by an identical tag but with a '/' near the start. The tags will show up in your source code but not the finished result that everyone else will see. Here are some more examples:[code:1:642ff74b27]<I>This is Itallic!</I>[/code:1:642ff74b27]Will display as:This is Itallic![code:1:642ff74b27]<U>This is Underlined!</U>[/code:1:642ff74b27]Will display as:This is Underlined!You can mix these together like so:[code:1:642ff74b27]<B><I><U>This is Bold, Itallic and Underlined!</B></I></U>[/code:1:642ff74b27]Will display as:This is Bold, Itallic and Underlined!There are a few that do not require closing tags though, such as the HTML codes used to start a new line, or new paragraph. To start a new line you need to use the 'BR' tag, to start a new paragraph you need to use the 'P' tag. Check it out here:[code:1:642ff74b27]This is line no.1<BR> This is line no.2<BR> This is line no.3 <P> This is line no.4[/code:1:642ff74b27]Will display as:This is line no.1This is line no.2This is line no.3This is line no.4You will need to use these quite a lot so make sure you get how this works! The only other code you might need to use is for posting hyperlinks and displaying images. For hyperlinks, use the following:[code:1:642ff74b27]<A HREF="http://www.domainname.com/stuff/file.zip">This is the text used for the link!</A>[/code:1:642ff74b27]Will display as:This is the text used for the link!For images...[code:1:642ff74b27]<Img src="http://www.fouclan.com/modules/Forums/i ... n_cool.gif">[/code:1:642ff74b27]Will display as:Note that for the hyperlink code, the closing tag does not completely match the opener. For the image code there is no closing tag! Ok so this is what the source code will look like for a typical news article:[code:1:642ff74b27]After much debating we have finally decided to put Tibby down. He <I>has</I> been around since the dawn of time anyway, so we just think that now is as good a time as any to kick him <U>squire</U> in the <U>nuts</U>.<BR>When asked how he felt about this, Tibby simply replied: <B>'Poo'd mah pants...'</B> which we believe has now become a daily activity.<P>This could be the reason behind his excessive use of emoticons such as this one: <Img src="http://www.fouclan.com/modules/Forums/i ... f"><P>More news on this can be found at CNN <A HREF="http://edition.cnn.com/2002/WORLD/europ ... .<P>Thanks for reading![/code:1:642ff74b27]Will come out (hopefully) like this:After much debating we have finally decided to put Tibby down. He has been around since the dawn of time anyway, so we just think that now is as good a time as any to kick him squire in the nuts.When asked how he felt about this, Tibby simply replied: 'Poo'd mah pants...' which we believe has become a daily activity anyway.This could be the reason behind his excessive use of emoticons such as this one: More news on this can be found at CNN here.Thanks for reading!An easy way to try this out is by using them in forum posting, but previewing the post instead of submitting it. Some of the tags will not work on here, such as images, hyperlinks and the <P> command but these do work on the content pages. There are several sites out there with tutorials on HTML, probably 100 times better than the above crap but if this helps anyone in any way then it was worth doing. :wink:
Image
Anubis
FoUster
Posts: 7015
Joined: Thu Feb 17, 2022 8:24 pm

Post by Anubis »

ok so lemme get this straight...tibby is a man?! :oops:
Image
Musashi
FoUster
Posts: 6821
Joined: Thu Feb 17, 2022 8:24 pm

Post by Musashi »

I bet Tib cries himself to sleep.
Image
User avatar
Step
FoUster
Posts: 6501
Joined: Thu Feb 17, 2022 8:24 pm
Location: The Netherlands
Netherlands

Post by Step »

:itch: Who's this Tib you guys are talking about?!
{FoU} Step
- Fate of Unwanted

gramps
Posts: 5173
Joined: Thu Feb 17, 2022 8:24 pm

Post by gramps »

:itch: Who's this Tib you guys are talking about?!some old guy who wears diapers and stuff. the usual.he even has an emoticon! see below. :bigsmurf:
:{8):
Milk
Posts: 1133
Joined: Thu Feb 17, 2022 8:24 pm

Post by Milk »

Amendment One. Let's be standard compliant here!XHTML: <BR> is gone, it has to be a self closing tag as in <br/> and always close your <p>'s.. <p>bleh</p>. etc. Let me say it in the best way possible. If you don't go standards compliant, you are Microsoft.You guys that don't know wouldn't believe the amount of code you need to coax IE into something that is just regular on all other compliant browsers.
[quote:1e308223cf=Snape]BTP have one here and they use it to organise upcoming matches, strategies and homosexual fantasies. I lurk there for the latter.[/quote:1e308223cf]
:rofl:
tiberius
Posts: 4525
Joined: Thu Feb 17, 2022 8:24 pm

Re: The SnapeTastic Guide to HTML!

Post by tiberius »

[code:1:42e85a7346]After much debating we have finally decided to put Tibby down. He <I>has</I> been around since the dawn of time anyway, so we just think that now is as good a time as any to kick him <U>squire</U> in the <U>nuts</U>.<BR>When asked how he felt about this, Tibby simply replied: <B>'Poo'd mah pants...'</B> which we believe has now become a daily activity.<P>This could be the reason behind his excessive use of emoticons such as this one: <Img src="http://www.fouclan.com/modules/Forums/i ... f"><P>More news on this can be found at CNN <A HREF="http://edition.cnn.com/2002/WORLD/europ ... .<P>Thanks for reading![/code:1:42e85a7346]Will come out (hopefully) like this:After much debating we have finally decided to put Tibby down. He has been around since the dawn of time anyway, so we just think that now is as good a time as any to kick him squire in the nuts.When asked how he felt about this, Tibby simply replied: 'Poo'd mah pants...' which we believe has become a daily activity anyway.This could be the reason behind his excessive use of emoticons such as this one: :wink:nice spelling error professor snapey............hit me squire(square???) in the nuts.................. :roll: :roll: :roll: :roll:
To conquer oneself is a greater task than conquering others. - Buddha
Musashi
FoUster
Posts: 6821
Joined: Thu Feb 17, 2022 8:24 pm

Post by Musashi »

Tib, it's supposed to represent Cartman's accent from South Park.
Image
HanK
Posts: 4727
Joined: Thu Feb 17, 2022 8:24 pm

Post by HanK »

But still nice double post there Tibbers. That crazy senility will get you every time. :wink:
Anubis
FoUster
Posts: 7015
Joined: Thu Feb 17, 2022 8:24 pm

Post by Anubis »

Tib, it's supposed to represent Cartman's accent from South Park.damnit i wanted to put the old guy down!
Image
Post Reply