EOSERV Forum > Lounge > My First Html Coded Website
Topic is locked.
Page: << 1 2 >>
My First Html Coded Website
Author Message
Post #127939 Re: My First Html Coded Website

Yes Caleb! One thing I did notice is that your <center> tag doesn't have a closing </center> tag :P might want to add "</center>" where you no longer want elements centred within your code :) aside from that You just need to work on your indentation. I don't know if you have any programming experience but it's one of the most crucial habbits you'll need to get into if you decide to go into programming to make your code readable. For instance
<html>
    <head>
        <title>Caleb :: Home</title>
    </head>
</html>

is a lot easier to read than 

<html>
<head>
<title>Caleb :: Home</title>
</head>
</html>

So you can clearly see what's grouped under which tags c: aside from that, great start! I saw the change from your initial code to the one you have now and it is a massive improvement. So congratulations :) Keep up the good work!

---
If money doesn't grow on trees, then why do banks have branches?
13 years, 13 weeks ago
Post #127943 Re: My First Html Coded Website
DanScott posted: (1st Feb 2012, 09:52 pm)

Yes Caleb! One thing I did notice is that your <center> tag doesn't have a closing </center> tag :P might want to add "</center>" where you no longer want elements centred within your code :) aside from that You just need to work on your indentation. I don't know if you haveany programming experience but it's one of the most crucial habbits you'll need to get into if you decide to go into programming to make your code readable. For instance
<html>
    <head>
        <title>Caleb :: Home</title>
    </head>
</html>

is a lot easier to read than 

<html>
<head>
<title>Caleb :: Home</title>
</head>
</html>

So you can clearly see what's grouped under which tags c: aside from that, great start! I saw the change from your initial code to the one you have now and it is a massive improvement. So congratulations :) Keep up the good work!


Thanks! and I'll Try doing that. :o Btw this is the only coding I've ever done.
---
Yep.
13 years, 13 weeks ago
Post #127949 Re: My First Html Coded Website
Caleb posted: (1st Feb 2012, 09:55 pm)

DanScott posted: (1st Feb 2012, 09:52 pm)

Yes Caleb! One thing I did notice is that your <center> tag doesn't have a closing </center> tag :P might want to add "</center>" where you no longer want elements centred within your code :) aside from that You just need to work on your indentation. I don't know if you haveanyprogramming experience but it's one of the most crucial habbits you'll need to get into if you decide to go into programming to make your code readable. For instance
<html>
    <head>
        <title>Caleb :: Home</title>
    </head>
</html>

is a lot easier to read than 

<html>
<head>
<title>Caleb :: Home</title>
</head>
</html>

So you can clearly see what's grouped under which tags c: aside from that, great start! I saw the change from your initial code to the one you have now and it is a massive improvement. So congratulations :) Keep up the good work!


Thanks! and I'll Try doing that. :o Btw this is the only coding I've ever done.
Epic! Nice work bro! I wish you luck with your future projects c:

---
If money doesn't grow on trees, then why do banks have branches?
13 years, 13 weeks ago
Post #127959 Re: My First Html Coded Website

I don't know if I did this right, but here is my code all updated n' stuff. :P

---
Yep.
13 years, 13 weeks ago
Post #127960 Re: My First Html Coded Website

You still have that body tag. Also to use real css, Do this.


Create a .css file


put this in the heading <link type="text/css" rel="stylesheet" href="filename.css" />


this will allow you to update the css file with all the css.


Here are some of the css markup:


#pie

{

/* CSS Stuff */

}


# shows that your looking for the id="pie"


.pie

{

/* CSS Stuff*/

}


. shows that your looking for the class="pie"


div

{

}


Shows your looking for the element <div></div>


These will apply to every one of the ones with these names


You can also apply things like this


#pie #crust

{

}


it will only style the #crust in the #pie


you can also do things like

#pie:hover

{

}


this changes the pie's style when you hover over it.


Links are a little different. They have:


a:hover /* Hover ^ */

{

}


a:visited /* Shows you have visited it before */

{

}


a:active /* Shows you have recently clicked on it */

{

}



---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 13 weeks ago
Post #127963 Re: My First Html Coded Website

Nice try but here's a better example of your code just to get you started

https://tehsausage.com/paste/caleb-html

---
If money doesn't grow on trees, then why do banks have branches?
13 years, 13 weeks ago
Page: << 1 2 >>
Topic is locked.
EOSERV Forum > Lounge > My First Html Coded Website