PDA

View Full Version : HTML Guide



TheEliteOne
03-03-2010, 08:49 AM
1 - Make a new Text document with notepad, rename it from .txt to .htm or .html

2 - Open it, it will be blank and might open in your web broswer, thats okay

3 - Right click on the file and click edit

Now you need to kow what the commands do and how to use them, here is how you would underline some text:


<u>TEXT</u>

That would end up looking like this:

TEXT

All of the HTML commands are in these things: < >
So if I wanted to start some thing, like bold, I would use the command, which is B


<b>

Then I would type what I wanted to be bold


<b>TEXT

Then I would add the / to the command to say that I want to stop that command


<b>TEXT</b>

I hope this is making sense, if so try some of these commands:



<u>Underline</u>
<b>Bold</b>
<i>Itilic</i>
<br>Break Line (Like enter/return)
<br><br> (Two returns)
<hr> (Line)


Now we are going to move on to colors and stuff, for an example I'll use <hr>
<hr> creates a line, if you haven't tried it, try it now. But what if we want the line to be red? We would use this:


<hr color=red>

Simple right? If we wanted blue we would use this:


<hr color=blue>

But what about the color of other things? We can use <body> to change a bunch of stuff, like if I wanted a black back ground and blue text I would use this:


<body bgcolor=black text=blue>

BG = Back Ground. Very easy so far. If we want a linke we would use <a> like this:


<a href="www.codinghs.com">here</a>

That would make it so if we clicked "here" we would go to codinghs.

I hope this very basic guide has got you to wanting to learn more, if you do try here:

W3Schools Online Web Tutorials (http://www.w3schools.com)

Please leave your questions and comments ;)

demon450
03-06-2010, 01:40 PM
looks like a very basic guide
i didnt read it but i see the ohg link

WhoIsYou
03-06-2010, 02:35 PM
Edit your guides before posting them here next time, this isn't the place to advertise OHG.

TheEliteOne
03-06-2010, 05:48 PM
Sorry I for got about that, I edited it out.