Twilight Academy
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Twilight Academy

Welcome to the Twilight Academy!
 
HomeLatest imagesRegisterLog in
Partners
Have a site of your own? Let us know and we'll feature your banner here!
free forum WriteMight - A Writing Forum redcarpet&&rebellion.

Want to help spread the word about the Twilight Academy? Look in the Affiliates thread for our button code!
Your Admins
If you have problems with anything, please contact one of the following people:


Anna>>promise me this,


Bree>>the last dance.


Twirls>>schrödinger's admin


Dizzy>>greenpixie1797


Kat>>klutzs rule!!


 

 Lesson 1: HTML and CSS

Go down 
AuthorMessage
RoadMan

RoadMan


Number of posts : 3189
Age : 32
Location : Looking into the untempered schism.
Registration date : 2008-11-27

Lesson 1: HTML and CSS Empty
PostSubject: Lesson 1: HTML and CSS   Lesson 1: HTML and CSS Icon_minitimeFri Jan 01, 2010 3:29 pm

Prior Knowledge
Lesson 0: HTML

Lesson 1: HTML and CSS

okay in this lesson imma teach you a couple of things. How to change the background of a page, and how to change fonts. there are several ways you can go about doing this:

Background

Go ahead and open up the L0.html file in context. and go to this line of code:

Code:
<body>

if you want to change the background of your page entirely you can do it from this line of code by changing the code to:
Code:
<body bgcolor="">
to change the background color to black, for example:
Code:
<body bgcolor="black">
if you want to change it to blue:
Code:
<body bgcolor="blue">

this is a simple way of changing the background color--however it is Deprecated. but i'll get into this later on.

Font

start this one off just as the previous. only change the bgcolor to font.
the problem with doing this you cannot change the font class.
ex:
This is Arial Font
this is Courier New font
you could of course do it two ways. one of which is the
Code:
[font]
tag.
but like the previous tag. it is deprecated.

CSS
a simple work around for this is to script in CSS.
Code:
</head> <body>


between these two lines of code you will have to write in:
Code:
</head>
<style type="text/css">
body{background:#000; font-family:"Times New Roman", Times, serif}
</style>
<body>
Back to top Go down
http://www.sec-reg.com/phpBB3
RoadMan

RoadMan


Number of posts : 3189
Age : 32
Location : Looking into the untempered schism.
Registration date : 2008-11-27

Lesson 1: HTML and CSS Empty
PostSubject: Re: Lesson 1: HTML and CSS   Lesson 1: HTML and CSS Icon_minitimeFri Jan 01, 2010 3:33 pm

Cont'd
I'll continue with CSS in the next lesson because i could fill up 10,000 characters worth of posts here.

Some code tags that you can still use are similar to the code on this forum.
Code:

Bold: <b></b>
Italic: <i></i>
Back to top Go down
http://www.sec-reg.com/phpBB3
 
Lesson 1: HTML and CSS
Back to top 
Page 1 of 1
 Similar topics
-
» Lesson 0. Html
» Lesson One
» First Lesson - Subject-Verb Agreement

Permissions in this forum:You cannot reply to topics in this forum
Twilight Academy :: Coding-
Jump to: