| |
|
Welcome to AstaHost - Dear Guest | |
Replying to Html Basic Tutorial
Topic Summary
Frazzman
Posted 12 August 2011 - 05:27 AM
HannahI
Posted 03 November 2009 - 09:55 PM
Anyways Karmen, post me a link, I like looking at websites.
yordan
Posted 17 December 2008 - 10:40 PM
Please read the forum rules. We want you to write down correctly balanced English sentences, without sms-like shortcuts. One-line posts are also considered as spam and will be deleted.ty alot man
Remember that your posts are reviewed, so if you want to be hosted here you should change your way of expressing yourself.
ryantommo
Posted 17 December 2008 - 04:00 PM
ml01172
Posted 08 October 2008 - 03:34 PM
For an example, <... align="center">, <center>, <font color="...">...</font> etc. (everything related to exact "look" or "style" described in HTML) is obsolete and should NOT be used. CSS should be used instead.
HTML in general is used only to describe document structure, not the document appearance. So, instead of <center> you should use style="text-align: center", instead of <font> one should use style="color: red; font-family: sans-serif", instead of BOLD, ITALIC, UNDERLINE (<b>, <i>, <u>) corresponding CSS variants should be used.
Also, <em> should be used to define the given text as EMphasized, not only the style itself.
Karmen
Posted 15 December 2007 - 08:37 PM
Hey Karmen, there's an online tool that can check if you did something wrong:
You enter the link to your site on http://validator.w3.org/ and press validate, it'll check if everything is written according to the standards
oh ok, thats quite usefull. so i just click on that and enter my website address and it will check it for errors?
edit: Just did that and i had like 60 errors
Thanks for all your help wutske.
wutske
Posted 15 December 2007 - 07:35 PM
You enter the link to your site on http://validator.w3.org/ and press validate, it'll check if everything is written according to the standards
Karmen
Posted 14 December 2007 - 07:33 PM
thanks everyone who has helped me, and i just wana say if you need any help with c++ feel free to PM me.
wutske
Posted 14 December 2007 - 09:05 AM
so if i was to do something like
<html>
<head>
<title>My Name Is Karmen</title>
</head>
<body>
<center><h1>This Is My Webpage</h1>
<br>Hi!</center>
</body>
</html>
then that would center the writing? also how do i change the color of the background and text?
That would indeed center all your text. I would usualy not use the center tags, but there good for starters
<html> <head> <title>My Name Is Karmen</title> </head> <body style="color: #898989; background-color: #AFAFAF;"> <center> <h1>This Is My Webpage</h1> Hi! </center> </body>
The #898989 is a hexadecimal code that represents a color. The first 2 numbers are for red, the next 2 for green and the last 2 for blue. The larger the numbers, the more a color is represented.
A few colors:
White: #FFFFFF
Red: #FF0000
Green: #00FF00
Blue: #0000FF
Purple: #FF00FF
Grey: #999999
If you don't understand the hexadecimal code, you could use names instead, but your limited to a certain amount of color:http://en.wikipedia.org/wiki/HTML_color_names
Karmen
Posted 13 December 2007 - 11:39 PM
<html>
<head>
<title>My Name Is Karmen</title>
</head>
<body>
<center><h1>This Is My Webpage</h1>
<br>Hi!</center>
</body>
</html>
then that would center the writing? also how do i change the color of the background and text?



