Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is being replaced by in XHTML2?
img object XHTML2
0
10 Posted

Is being replaced by in XHTML2?

0

No. is being replaced in XHTML2, but by something else (although you could use if you wanted). The design of has many problems in HTML: • It has no fallback possibilities, so that if you use an image of type PNG for instance, and the browser can’t handle that type, the only alternative is to use the alt text. This fact has hampered the adoption of PNG images, which in many ways are better than GIF and JPG, since people have continued to use the lowest-common denominator format, to ensure that everyone can see the images. • The alt text cannot be marked up, so that if it gets used, you just get the plain text. • It is possible to include a longdesc link to a description of the image, to help people who cannot see, but it is seldom implemented. What XHTML2 does is say that all images are equivalent to some piece of content; it does this by allowing you to put a src attribute on any element at all. What this says is: if the image is available, and the browser can proc

Related Questions