• Log in or sign up for an account here: https://www.sythe.org/login

whoo my first html knowledge

hippohumper

Active Member
Joined
Jan 21, 2007
Sythe Gold
0
Messages
112
studied a tut for bout 20 mins earlier, this is what I got out of it... I know its not very good...at all..
Code:
<html>
<title>MY HOMEPAGE</title>
<body background="swirlies.gif" style="background-attachment:fixed">

<p align="center">Hello and <u><b>WELCOME</b></u> To the coolest site</p> 
<p align="center"><u><h1>EVER!!!</h1></u></p>
<br />
<br />
<br /><b/>
<p align="right">Click<a href="http://sythe.org/">here</a> To visit Sythe!</p>
<hr />
Now if you don't want to visit the, don't click that link.
<br />
<br />
<img src="car2-sm.gif" width="180" height="124">
<img src="car2-sm.gif" width="90" height="62">
<img src="car2-sm.gif" width="45" height="31">
<img src="car2-sm.gif" width="90" height="62" border="5">
<br />
<br />
<b/>My favorite things to <u>DO!</u></b>
<ol>
<li>Skateboard</li>
<li>PLay guitar</li>
</ol>

<p><a href="#heading1">Link to first heading!</a></p>
<p><a href="#heading two">Link to second heading!</a></p>
<br /><br /><hr />
<h1 id="heading1">heading 1</h1>
<br /><hr />
<h1 id="heading two">heading number two</h1>
<br /><hr /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><hr /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><hr /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><<br />

</body>
</html>
 
Other than spelling homepage wrong, I think it's great that you're actually learning!

Once you learn enough, you'll be able to combine these tags to your needs and end up making a layout or something, but you've still a long time to go.

<p align="center">Hello and <u><b>WELCOME</b></u> To the coolest site</p>
<p align="center"><u><h1>EVER!!!</h1></u></p>

I noticed you put the <p></p> on different lines. Since the both of them have the same quality (align=center), you can leave it on the same line:

<p align="center">Hello and <u><b>WELCOME</b></u> To the coolest site <u><h1>EVER!!!</h1></u></p>

If you meant to leave like, a enter in between, you could add a <br> where you want the extra space to be. Try it out.
 
Thanks for advise, I updated it a little bit.

instead of typing <br /> 10 times is there a way to type like <br /> X10 ?? or something of that sort?
 
aiee! why so many <br />'s?
Do you need something on the bottom of the page? You'll learn about that soon in css. And I really don't remember how to do it with css, so bleh :/ Sorry.
 
I wanted those so because I had it so when the link is clicked it scrolled down to that spot, but before there wasn't enough page to scroll down at all so I added some page space.
 
I believe to make something appear at the bottom of your screen you would type this code:
Code:
<tr valign=bottom>TEXT HERE</tr>
And also, I don't think you need to type <br />, you only need to type <br>, as far as I know.
 
<br /> is to make it xhtml compliant.
 
Runescape Gamblingrunescape gambling
Back
Top