HTML Editor

C

Chaddy2222

Ed said:
It does bother me a bit that the first sentence on that page reads:

"There is no "right" way to build a web site ..."

I heartily disagree. There is always a "right" way to begin, at the
least. Then, once that way is mastered, the author can begin to "get
creative," that is, pushing the envelope, learning where the "right way"
can be bent and twisted without breaking.
True.
But that course, that the site above was designed for, used Frontpage
in previous courses, so at least Greg is trying to get them useing
some better software.
 
B

Bergamot

Guy said:
Doesn't that depend on what version of HTML you are using?

It's hard to believe anyone still using an HTML version prior to 4.0
cares whether the alt attribute is there or not.
 
J

Jeremy J Starcher

The alt attribute is required for the img tag, hence it should not be
empty. If it is left empty it will generate HTML errors.

In HTML 4.01 strict, yes, it must be there. It is used for the text
equivalence of the image. Sometimes, there is none.

Master Yoda says: "Empty, it is allowed to be."

Take this example:

<a href="http://example.com">
<img src="example_logo.gif" alt="">
Buy parts from Example.com!
</a>
 
H

Helpful person

It's hard to believe anyone still using an HTML version prior to 4.0
cares whether the alt attribute is there or not.

The point is that the alt text is displayed when the user blocks the
display of images.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top