Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > <img> deprecation

Reply
Thread Tools

<img> deprecation

 
 
e n | c k m a
Guest
Posts: n/a
 
      08-19-2003
I think I read somewhere that the <img> tag will be deprecated in the newer
version(s) of (X)HTML? Is this true? If so, how are we expected to display
images in the future?

Thanks,
Nick.


 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      08-19-2003
Gazing into my crystal ball I observed "e n | c k m a" <>
writing in news:YXe0b.42970$:

> I think I read somewhere that the <img> tag will be deprecated in the
> newer version(s) of (X)HTML? Is this true? If so, how are we expected
> to display images in the future?
>
> Thanks,
> Nick.
>
>
>


http://www.w3.org/TR/xhtml2/mod-object.html#sec_14.1.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
 
 
 
e n | c k m a
Guest
Posts: n/a
 
      08-19-2003
>
> http://www.w3.org/TR/xhtml2/mod-object.html#sec_14.1.
>
> --
> Adrienne Boswell
> Please respond to the group so others can share
> http://www.arbpen.com


Interesting, thanks!
Nick.


 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      08-19-2003
Toby A Inkster <> wrote:

>> http://www.w3.org/TR/xhtml2/mod-object.html#sec_14.1.

>
> What is not made clear on that page, is that effectively any
> element can embed an image (or other external data). For example, I
> could embed a sunset picture like this:
>
> <p src="sunset.png">Sunsets are nice.</p>


You mean that the XHTML 2.0 _draft_ also contains the idea of using the
src attribute for generic inclusion, at
<http://www.w3.org/TR/xhtml2/mod-attr...llections.html
#col_Embedding>
Apparently this competes with the <object> element, which would really
be a redundant and odd bird if the "embedding attribute" idea were
adopted.

> This may seem a little curious, but it does make sense to use a
> non-<object/> element to embed images sometimes.


Actually there would be little point in having both, especially since
<object> deviates from the patter (by using data="..." rather than
src="..." attribute). You could always use <span src="..."> or
<div scr="..."> instead of <object>, when there's nothing more suitable
to attach the src attribute to.

> <h1 src="ourlogo.png">ACME Widgets</h1>


That would be interesting, since it would actually convey the message
that the content is the primary thing, and the src attribute just
specifies an external alternative. Useful as this might often be,
I don't think the idea will be adopted. It's too logical and not
logical enough, at the same time. (To be logical enough, it should let
the author specify a set of alternative external resources, such as
images in different formats and sizes, in a priority order, with
advisory titles. And you can't do that with XML attributes.)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
Headless
Guest
Posts: n/a
 
      08-19-2003
Jukka K. Korpela wrote:

>> This may seem a little curious, but it does make sense to use a
>> non-<object/> element to embed images sometimes.

>
>Actually there would be little point in having both, especially since
><object> deviates from the patter (by using data="..." rather than
>src="..." attribute). You could always use <span src="..."> or
><div scr="..."> instead of <object>, when there's nothing more suitable
>to attach the src attribute to.


Object tags can be nested in a cascade, no such thing with <div
src=""></div>.


Headless

--
Email and usenet filter list: http://www.headless.dna.ie/usenet.htm
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MCSBNGP+++ Public apology on behalf of Frisbee(R) (with bonus self-deprecation) /* MCSBNGP+++ #270-290-291-293-294-298-299# */ MCSE 21 07-29-2005 05:09 PM
How can I fix this deprecation message? fuzzylollipop C++ 3 01-05-2005 10:32 PM
StringBufferInputStream deprecation Silas Snider Java 2 08-25-2004 09:38 PM
How to set -deprecation in Sun Studio 5 Ray Mitchell Java 1 11-09-2003 08:02 PM
FCNTL module deprecation warning Meyer, Tony Python 2 07-15-2003 02:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57