Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What Are the Attributes of an IMG Element
What Are the Attributes of an IMG Element? - XHTML 1.0 Tutorials - Understanding Inline Images and Image Maps
✍: FYIcenter.com
There are 4 commonly used attributes for an "img" element:
Here is a tutorial example of an "img" element with all 4 attributes:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Image Attributes</title> </head> <body> <h4>Inline Images</h4> <p style="background-color: #eeeeee; padding: 8px;"> What is the size of this image? <img src="/moonrise.jpg"" alt="Moonrise" width="69" height="91"/> width="69" and height="91".</p> </body> </html>
If you save the above document as image_attributes.html, download this
image file and view it with Internet Explorer, you will see
an image embedded inline with width and height attributes in a text paragraph as shown below:
2007-05-12, 4756👍, 0💬
Popular Posts:
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML ...
What is the significance of Finalize method in .NET? .NET Garbage collector does almost all clean up...
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...
How do you open an SSH connection to a remote box? ????
How do you open an SSH connection to a remote box? ????