09-26-2004, 07:14 PM
I'm new to HTML and have only taken a Web Design class. I don't have CSS or any of the other programs, and I'm pretty sure i dont have HTML 4.0 because on a website some guy said if you have 4.0 you could see it w/out tags, and i didnt. I was wondering, if i could do everything w/out the programs that you guys do w/, like roll-over images. I have been trying but its not working. I can insert pictures, hyperlinks, scroll down menus, and basic stuff. Could someone answer my question? If i can do all the stuff, someone please teach me how to do rollover's. :confused:
09-26-2004, 08:04 PM
Okay... Here goes:
HTML 4.0 = HyperText Markup Language version 4.0 - This is supported in many, if not all, old browsers; there are currently 9 levels of HTML: Tag soup (what many high school students learn), HTML 4.0, HTML 4.01 Strict, HTML 4.01 Transitional, HTML 4.01 Frameset, XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, and XHTML 1.1. XHTML 2.0 is on its way!
CSS = Cascading Style Sheets - This is supported in Internet Explorer 4+ and Netscape Navigator 5+ (NN4 didn't have very good CSS support); there are currently 2 levels of CSS: CSS1 and CSS2 (and 2.1). CSS3 is on its way!
These are not programs, but languages used to display and present information via the Internet. They are automatically displayed in Web browsers because Web browsers are designed to display content based on the code used. What browser(s) are you using?
I don't have CSS or any of the other programs, and I'm pretty sure i dont have HTML 4.0 because on a website some guy said if you have 4.0 you could see it w/out tags, and i didnt.
This is confusing because if you saw the tags, you wouldn't be able to post here! This site uses XHTML 1.0 Transitional, so technically speaking, you shouldn't be able to see it if your browser won't even render HTML 4.0. As I asked, what browser(s) are you using?
Good coders don't need to use programs very often to create their code. Image rollovers are becoming useless as CSS takes over. However, if you want, I can show you something really quick:
<img src="img.jpg" onmouseover="this.src='imgover.jpg';" onmouseout="this.src='img.jpg';">
That basically says that when the image is rolled over, the image source changes to the file "imgover.jpg". When the image moves off/out of the image, it changes to the file "img.jpg" which usually is the original value of src attribute.
09-26-2004, 09:56 PM
I think i learned tag soup although im not in high school yet ( hehe )
I use internet explorer/AOL. My family and I use AOL but we can also use internet explorer once we dial up AOL. I have no idea w/ version it is.
<quote>img src="img.jpg" onmouseover="this.src='imgover.jpg';" onmouseout="this.src='img.jpg';"</quote>
OK, kinda confused. is "img.jpg" the first picture i want to show before the mouse goes over it? and "this.src" is the src for "img.jpg"? and why is it ".src" do you mean like http://www.somewhere.com"?
imgover.jpg= roll over img right? and this.src after that is the source of it? :confused:
09-27-2004, 02:56 AM
img.jpg = image before and after rollover
imgover.jpg = image during rollover
this - refers to this exact element
src - defines the source of the image (like in <img src=""> ); it can be something like http://www.example.org/images/img001.jpg or it can be something like /images/img001.jpg
Hope that helps!
09-28-2004, 02:37 PM