answersLogoWhite

0

Syntax when using image tag to an HTML document?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

The basic syntax is:


Additional optional attributes include height, width, and border.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Syntax when using image tag to an HTML document?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What will be the HTML syntax of the image after copying it to a CD?

An image does not have an HTML syntax. If you copy an image from a Webpage, you save just the image file (e.g. image.jpg). You do not save any of the HTML code used to tell the browser where to locate the image to display on the page.


What is the general syntax for inline image?

The general syntax for an inline image in HTML is: <img src="image.jpg" alt="Description of image">


What is the fundamental unit of HTML syntax?

the <> brackets, for example to begin an HTML document you begin with the tag <html>


Which tag is been used to add image using HTML?

Adding an image in you site is done by the syntax below:put this code between the body tags


How do you upload an image to a HTML document?

To put an image in an HTML document, first upload the image to a web server somewhere. Then, copy the URL of the document. Finally, place the following code into the HTML document: <image src="PASTE URL HERE" />


How do you put a picture in a website using HTML codes?

Open notepad or whatever you write HTML with. Place the image you want in the same folder your HTML document is in. In your HTML document editor (Notepad) write the following- <img src=your images name.jpg> (or .GIF or . PNG whatever type of image you are using)


How do you convert an image into an HTML page?

you don't actually make an image into a page you need to save it as a .jpeg or .gif image and then use it in an HTML document such as a Word document saved as an HTML page, or using a web design program like Dreamweaver for instance using the jpeg as a background or a gif as a web site button


Benefits of using HTML?

The main benefit of using HTML is its easy syntax. The tags are very powerful to use.


How is the HTML document used for making a hyperlink?

Correct syntax for creating a hyperlink in HTML is <a href="the_file_name_link.html">This is a link</a>


What is the exact syntax of img tag in HTML?

The syntax for an image tag is as follows: <img src="image URL" alt="Alternate Image Test" /> You can also include any applicable additional stipulations such as width, height, etc.


Is true In HTML the general syntax for inline image is srcimage?

We use the img tag with the src attribute, like this:


How do you get xml in HTML?

xml can be written straight into html code and vice versa using the correct syntax, ie your html in here and your xml in here