<img> deprecation

Discussion in 'HTML' started by e n | c k m a, Aug 19, 2003.

  1. 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.
     
    e n | c k m a, Aug 19, 2003
    #1
    1. Advertising

  2. e n | c k m a

    Adrienne Guest

    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
     
    Adrienne, Aug 19, 2003
    #2
    1. Advertising

  3. e n | c k m a, Aug 19, 2003
    #3
  4. 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-attribute-collections.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
     
    Jukka K. Korpela, Aug 19, 2003
    #4
  5. e n | c k m a

    Headless Guest

    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
     
    Headless, Aug 19, 2003
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.austin.rr.com

    how to download img from html img tag

    news.austin.rr.com, Apr 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    538
    Steve C. Orr [MVP, MCSD]
    Apr 27, 2005
  2. Ray Mitchell
    Replies:
    1
    Views:
    362
  3. Philipp Lenssen

    Problem: <img></img>

    Philipp Lenssen, Jun 27, 2005, in forum: XML
    Replies:
    15
    Views:
    805
    David Håsäther
    Jul 3, 2005
  4. Jopek
    Replies:
    7
    Views:
    428
    dorayme
    Apr 26, 2009
  5. Replies:
    7
    Views:
    205
    Tad McClellan
    Jun 22, 2006
Loading...

Share This Page