Tools, FAQ, Tutorials:
HTML 'img' Tag/Element
What Is an "img" Tag/Element?
✍: FYIcenter.com
A "img" element is an inline element that you can use to define an inline image to be included in a XHTML document. Here are basic rules about an "img" element:
Here is a simple example of an "img" element:
<?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>Inline Images</title> </head> <body> <h4>Inline Images</h4> <p style="background-color: #eeeeee; padding: 8px;"> What's the image title? <img src="/moonrise.jpg" alt="Moonrise"/> Mouse over the image to find out.</p> </body> </html>
If you save the above document as inline_image.html, download this image file and view it with Internet Explorer, you will see an image embedded inline in a text paragraph as shown below:
⇒ Attributes of an HTML 'img' Element
⇐ HTML Inline Images and Image Maps
2017-03-27, 1306🔥, 0💬
Popular Posts:
How to run PowerShell Commands in Dockerfile to change Windows Docker images? When building a new Wi...
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How to add request body examples to my Azure API operation to make it more user friendly? If you hav...