Img

出典: 九州島ウェブ技術めも

img要素 HTML書類

img要素 HTML4.01DTD

<!-- To avoid problems with text-only UAs as well as 
    to make image content understandable and navigable 
    to users of non-visual UAs, you need to provide
    a description with ALT, and avoid server-side image maps -->
 <!ELEMENT IMG - O EMPTY                -- Embedded image -->
 <!ATTLIST IMG
   %attrs;                              -- %coreattrs, %i18n, %events --
   src         %URI;          #REQUIRED -- URI of image to embed --
   alt         %Text;         #REQUIRED -- short description --
   longdesc    %URI;          #IMPLIED  -- link to long description
                                           (complements alt) --
   name        CDATA          #IMPLIED  -- name of image for scripting --
   height      %Length;       #IMPLIED  -- override height --
   width       %Length;       #IMPLIED  -- override width --
   usemap      %URI;          #IMPLIED  -- use client-side image map --
   ismap       (ismap)        #IMPLIED  -- use server-side image map --
   >


さくらのレンタルサーバ・ビジネス プロ