ask WhightKnight



read advice get advice make favorite read feedback advicenators




Gender: Male
Location: Southlake
Occupation: Student
Age: 16
Member Since: February 28, 2005
Answers: 17
Last Update: December 19, 2005
Visitors: 2478

Main Categories:
Music
Computers
School
View All

13/f my brother is coming home from college this weekend for christmas and his majoring in computer science and hes just aweosme with computers.. the last time he was home on thanksgiving he taught me a lot about html and i already knew a lot anyway but he really helped. i told him i would have this whole website done by when he came home. and im getting really confused with out him. not like about big stuff but some small stufflike... one of my questions is do you no how to change a font on your website? how can you make a picture a link? ill add more later.. thanks ♥ (link)
Well, to answer your specific questions:

1) There are two ways:

A)To change the font for an entire page, you'd have to use a Cascading Style Sheet. To be honest, this might be too advanced for your level, but it might impress your brother if you ask about it. It requires making a seperate file. However, if you are using it for multiple pages, then it'z great for streamlining your font selections as well as other formatting options.

Create a file and name it "style.css". Edit the file, most likely in notepad or whatever you use to code, and put this in the file

p {font-family:Arial, Helvetica, sans-serif;}

Now, you can change the fonts to whatever you want, so you could easily do:

p {font-family:Comic Sans MS, Times New Roman;}

Now, the reason there are multiple fonts listed is so that if the first font is not found on a users computer that is accessing your site, then it'll load the next font, so on and so forth. Taking the second part for example, if a user's computer doesn't have Comic Sams MS, it'd load Times New Roman.

B) The more simple and basic solution would be to add the following tag around some text.

Text

Again, you can change the fonts to whatever you wish to use.



2) This is simple, although it may not seem so at first. It involves what is called "nesting tags". Basically, it's using tags within tags. Say you have "image.jpg" that you want to link to "page.html". You would use the following:



There you have it. That should be it. Let me know if you have any other questions.


Rating: 5
thank you!




read advice get advice make favorite read feedback advicenators

<<< Previous Advice Column
Next Advice Column >>>

eXTReMe Tracker