Here's an answer to a request:
Adding a horizontal line can make the information on your web page easier to read and follow. But what if you want to change the color of your horizontal line?
Here's how:
1. Crack open the html view on your web page with an html editor.
2. Find the code for the horizontal line. It should look something like this: hr style="height: 4px; color: #C0C0C0" /
(Important: remember to add the "<" and the beginning of "height" and a ">" on the end of the code after the "/" )
Here's how the above code displays in the browser:
Now, let's say I want to change the line from gray to pink. I will need to change the gray color code #C0C0C0 to the pink color code #FF00FFlike so:
hr style="height: 4px; color: #FF00FF" /
The new horizontal line will now display as pink instead of gray as seen below:
And now you know how to change the color on a horizontal line in HTML.
4.9.09
3.9.09
What is CSS?
Cascading style sheets (CSS) is a scripting language that allows website designers to better create and manage the custom look and feel of a website when viewed across multiple browsers.
Linking Pages is What Makes the World Wide Web Go 'round
When creating a website, chances are you want more than one page. Let's say you have a three-page website. Breaking away from some of the technical terminology, think of your website as a tropical ocean, each page as little islands, and your website visitors as little sailors.
Once a sailor finds your first island (page one), how is she going to reach the other islands? Naturally she needs a little boat to sail to the next island.
In the HTML world, these little boats are called hyperlinks. They connect little islands to each other (hyperlinks within a website) and big islands to other big islands (hyperlinks across multiple websites).
Once a sailor finds your first island (page one), how is she going to reach the other islands? Naturally she needs a little boat to sail to the next island.
In the HTML world, these little boats are called hyperlinks. They connect little islands to each other (hyperlinks within a website) and big islands to other big islands (hyperlinks across multiple websites).
What is HTML?
HTML is an acronym for hypertext markup language. It is a scripting language used to create websites.
Subscribe to:
Posts (Atom)
