good day friends, i started learning web development just today and i have a tutor, he started wit html and gave us a brief intro. This is what i learnt today;
<html>
<head>
<title>my first site</title>
</head>
<body bgcolor="green" text="black">nice learning web development<hr width="700px" align="left" color="color"/>
</body>
</html>
pls hope is am on track? And is there anytin i can add to make the above alittle unique, as i said, i just started today and still have a class tomorrow. Thank you.
<html><head><title>my first site</title></head><body bgcolor="#CCCCCC" text="black" align="center">
Nice learning web development
<hr width="700px" align="center" color="#005599" /></body></html>
but why did you use #ccccc to define d bgcolor and #005599 to define d hr color? And pls what more can i add to the above code to build it up and make it look matured
but why did you use #ccccc to define d bgcolor and #005599 to define d hr color? And pls what more can i add to the above code to build it up and make it look matured
there are 3 ways to define the color
1- by name : red, black, green ... and so on
2- HEX : #000000(for black), #FFFFFF(for white) it takes numbers from 0 to 9 and letters from A to F
3- RGB : rgb(0,0,0)for black, rgb(255,255,255)for white it takes numbers from 0 to 255
he said he is going to start with htlm, then xhtml, then css and maybe leter introduce us to dreamweaver n stuffs like that. Is it nt good like that. And pls mohammed, i still dont understand how u derived the colours from the hex and rgb.
A lot of your confusion can be removed if you concentrate on what is being told to you, yes you are definitely going to be re-inventing the wheel, just go to ws3schools.com go thru CSS first then HTML you will learn all that there is to it. Even where mohammed got the colors from. All is explained there. Any way great you joined this forum there will always be someone to help you out. Welcome aboard. Remember there are other web tools out there that can teach you the above but stick on to one then you can go thru the others to increase your knowledge.
this site give you the color HEX
and you can use this this from w3schools
you only take the color HEX and but it
HTML Code:
<div style="width:300px; height:100px; background:#CCCCCC; color:#005599">
This is simple HTML code
<br /><span style="color:#8B0000; font-weight:bold;">another color</span></div>
i'm so grateful mohammed and kasnake for your replies so far. Thanks alot! It has helped me so far, today was my third day of class with my tutor and he thought me how to put images and links on my site.
Bookmarks