This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes a href = ...  class=... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "a href = ...  class=... " Watch "a href = ...  class=... " New topic
Author

a href = ... class=...

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Hello:
Could you point out a website talking about <a href = ... class=... >?
I don't understand the class part.
Thanks!
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
read up on CSS (Cascading Style Sheets).
They define (mainly) rendering and formating styles.


42
Winston Smith
Ranch Hand

Joined: Jun 06, 2003
Posts: 136
Assume the following HTML:

"class" refers to the CSS label (which is contained either in the page, or in a seperate CSS file (styles.css).
So, if we have a seperate file called styles.css, we would define the following:

So essentially, "The Ranch" will be 10px, Arial, and the color blue. There are several different ways to accomplish such formatting. This one uses an external style sheet.
WS


for (int i = today; i < endOfTime; i++) { code(); }
 
 
subject: a href = ... class=...
 
Threads others viewed
Answers to the Sun's Sample questions
I need help on a parameter I don't understand :(
Add Effect to Link
what is the use of class attribute associated with a HTML element.
UML Reference Card
developer file tools