General Discussion Forum

Topic: HTML Guide

Showing 1 to 19 of 19

AuthorMessage
Avatar

mega

1. Posted: Thu 6th Sep 2012 21:48 BST

This is a guide to HTML. This guide will not teach you how to use it, but will help you when using HTML. This guide has all the HTML coding ( At least that I know of ) all in one spot. This thread. So without further ado, let the guide begin! ^-^


Headings

<h1>Heading here</h1>
<h2>Heading here</h2>
<h3>Heading here</h3>
<h4>Heading here</h4>
<h5>Heading here</h5>
<h6>Heading here</h6>

NOTE: The lower the number the smaller the heading. ( Headings only go down to 6 ) Also do not use ANY heading to make bold or big text. It will mess things up in the long run.


Paragraphs/Normal word

<p>Insert paragraph here</p>


Links

<a href="http://www.nintendolife.com">Insert what you want it to say here</a>

NOTE: Insert the URL after the 'href='

To make your link pop up in another tab, use this code:
<a href="http://www.nintendolife.com" target="_blank">Insert what you want it to say here</a>


Images

<img border="0" src="Insert Image URL here" width="104" height="142" />

NOTE: The width and height are how big the image is. The scale it uses are pixels. Also in the code you will see it says border. Change the "0" to make the image have a frame. This is not used much but I still added it. ^-^


Lines

<hr />

NOTE: You can add a line anywhere. In case you have never seen this code ( This code is not very popular ) This is what the line looks like:


^ That's what it would look like. ^


Line Breaks

<br /> or </br>

NOTE: Use this so you don't have to keep adding multiple paragraphs. Also the first line break code ( <br /> ) has a space after the 'r'

Example of what this would look like:
This is a para
graph with
line breaks


Text Formatting

<p><b>This text will appear bold</b></p>
<p><strong>This text is strong</strong></p>
<p><big>This text is big</big></p>
<p><i>This text is italic</i></p>
<p><em>This text is emphasized</em></p>
<p><code>This is computer output</code></p>

NOTE: You still have to use the <p> </p> in front and in the back of the words as shown above.


Colors

<p style="color:red"> Insert what you want it to say here</p>

NEED HELP? This is how you make the words have color. If you look in the code, you'll see the word 'red' This is what color it is. If you type in the color like it shows above, it most likely will not work. You have to use the HTML color codes. For a list of the HTML color names, click the link below:
(url=http://en.wikipedia.org/wiki/Web_colors)!Color names!(/url)

NOTE: You can actually combine the colors with bold, italic, ect text. Just add the <b> and </b> ( I'm using the bold text symbol as an example. ) at the front and end so it looks like this:
<p style="color:red"><b> insert text here! </b></p>


Background colors!

<body style="background-color:yellow;">

NOTE: Use the same <body> command as the one you used at the top.

To add a background around some letters use these:
<h1 style="background-color:red;">This is a heading</h1>
<p style="background-color:green;">This is a paragraph.</p>


Centering your text

<p style="text-align:center;">Center-aligned heading</p>

NOTE: This works for heading as well as any other text. It will work for images and links too.


Tables ( Those things you might use in math )

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

NOTE: You can add a border ( As seen in 'images' ) around your table.


Lists

<ul>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
</ul>

Use this list code to make a list like this:

  • Bread
  • Eggs
  • Milk

To make a list with numbers, use this code:
<ol>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
</ol>

NOTE: The only thing in the code changing it from bullets to numbers, is the <ul> </ul> and <ol> </ol>


Youtube

<iframe width="420" height="345"
src="Insert Youtube video's URL here!!!">
</iframe>

NOTE: Use this code to add a youtube video to your site. Use the width and height to make it bigger.


That's it for now. I hope this helps. I'll add more later. ^-^ Comment if you have a question or have a code you think I should add. Also you can add your codes on comments.

Edited on Sat 8th September, 2012 @ 16:50 by mega

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Mr-Metroid

2. Posted: Sat 8th Sep 2012 00:26 BST

Thanks. :) This was very helpful. It saves lots of time.
You should make a CSS and Javascript one sometime. :D

Edited on Sat 8th September, 2012 @ 00:26 by Mr-Metroid

Who has two thumbs and loves hot springs?
Everyone with two thumbs!

AuthorMessage
Avatar

Mr_Trill281

3. Posted: Sat 8th Sep 2012 00:35 BST

yo mega ty for help man "daps"...

Lets All Keep It "TRILL"...

AuthorMessage
Avatar

mega

4. Posted: Sat 8th Sep 2012 00:38 BST

Yeah thanks. :D I don't think i will ever do CSS or javascript though. It would be too hard without examples. But you can look forward to some more HTML. I might add some more tonight if I find any intersting ones... I found one that will make the words go up and down... and have the words flash and move. KInda half HTML and CSS... I may add those. @Mr-Metroid

Edited on Sat 8th September, 2012 @ 00:40 by mega

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Mr_Trill281

5. Posted: Sat 8th Sep 2012 00:43 BST

yeah mega i see you no your stuff man i never new all this...

Lets All Keep It "TRILL"...

AuthorMessage
Avatar

mega

6. Posted: Sat 8th Sep 2012 00:51 BST

So you probably don't know much about HTML then. If you go on w3schools they can teach you how. Its quite easy and fun at the same time. ^-^ Once you get into advanced CSS it gets hard. O.O @Mr_Trill3506

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Iceberg

7. Posted: Sat 8th Sep 2012 01:43 BST

Funny, I've always used </br> for line breaks. I guess both work.

Iceberg

AuthorMessage
Avatar

Mr_Trill281

8. Posted: Sat 8th Sep 2012 02:34 BST

ok mega ill peep that out man...

Lets All Keep It "TRILL"...

AuthorMessage
Avatar

mega

9. Posted: Sat 8th Sep 2012 06:59 BST

Nixons_Corpse wrote:

Funny, I've always used </br> for line breaks. I guess both work.

Oh. That's interesting. I added your </br> to the codes too. :) It's easier to do, so thanks for telling me.

Edited on Sat 8th September, 2012 @ 16:50 by mega

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Mr-Metroid

10. Posted: Sat 8th Sep 2012 17:17 BST

mega wrote:

Yeah thanks. :D I don't think i will ever do CSS or javascript though. It would be too hard without examples. But you can look forward to some more HTML. I might add some more tonight if I find any intersting ones... I found one that will make the words go up and down... and have the words flash and move. KInda half HTML and CSS... I may add those. @Mr-Metroid

Flashing words? Hmm... I've never seen that. Can't wait for you to post it. And Okay about the CSS...

Who has two thumbs and loves hot springs?
Everyone with two thumbs!

AuthorMessage
Avatar

Happy_Mask

11. Posted: Sat 8th Sep 2012 17:22 BST

@Mr-Metroid welcome! :D

Pushmo/Pullblox Contest Thread
My Maskloggery
[16:08] LordJumpMad Hides his gut with a griddle
[16:08] Reala: what ljm does for cash is ljm's business
[16:08] LordJumpMad: Gotta look good my my next game u_u
"Is that big, legendary weapon, or are you just glad to see Gregor?"

3DS Friend Code: 2921-9222-4787 | Nintendo Network ID: Happy_Masked_Man

AuthorMessage
Avatar

mega

12. Posted: Sat 8th Sep 2012 17:23 BST

Okay. I'll try posting it today. :) @Mr-Metroid

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Mr-Metroid

13. Posted: Thu 13th Sep 2012 02:07 BST

Why have you not posted it? D: @mega

Who has two thumbs and loves hot springs?
Everyone with two thumbs!

AuthorMessage
Avatar

mega

14. Posted: Thu 13th Sep 2012 18:55 BST

I'll do it Friday. @Mr.Metroid

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

Mr-Metroid

15. Posted: Sat 15th Sep 2012 00:13 BST

Just a reminder do it today. @mega
( Also, nice new avatar. :) )

Who has two thumbs and loves hot springs?
Everyone with two thumbs!

AuthorMessage
Avatar

mieu-fire

16. Posted: Sat 15th Sep 2012 00:15 BST

theres a mr metroid and a mr sega o.o

3DS FC:1332-8177-3517 currently playing:(nothing) BIG TALES OF FAN! BIG SONIC FAN! lloyd x sheena yuri x judith
PSN ID:Bioshock1313
youtube:ChuieTheUmbreon my new channel
trying to get on more

AuthorMessage
Avatar

mega

17. Posted: Sat 15th Sep 2012 00:17 BST

mieu-fire wrote:

theres a mr metroid and a mr sega o.o

But Mr.Metroid is more BAWSS. B-)

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho

AuthorMessage
Avatar

mieu-fire

18. Posted: Sat 15th Sep 2012 00:20 BST

of course mr sega is new and his favorite game ish sonic cd which makes him bawss

3DS FC:1332-8177-3517 currently playing:(nothing) BIG TALES OF FAN! BIG SONIC FAN! lloyd x sheena yuri x judith
PSN ID:Bioshock1313
youtube:ChuieTheUmbreon my new channel
trying to get on more

AuthorMessage
Avatar

mega

19. Posted: Sat 15th Sep 2012 00:22 BST

But Mr-Metroid likes Super Metroid which makes him ALMOST as BAWSS as me. B-)

"Sometimes, I poop into my hand, then gently lower it into the toilet to avoid any unnecessary sounds..." ~ DrakeJericho