Computer Science, asked by tejashwiaryanclassa, 5 days ago

Write the syntax to add an image on web page?​

Answers

Answered by ut5060
2

 \huge \underline \mathtt \red{a} \pink{n} \green{s} {w} \blue{e} \orange{r}

Images enhance visual appearance of the web pages by making them more interesting and colorful.

The <img> tag is used to insert

images in the HTML documents.

It is an empty element and contains

attributes only. The syntax of the

<img> tag can be given with:

<img src="url" alt="some_text">

The src attribute tells the

browser where to find the image.

Its value is the

URL of the image file.

Whereas, the alt attribute provides an alternative text for the image, if it is unavailable or cannot be displayed for some reason. Its value should be a meaningful substitute for the image.

 \huge \colorbox{yellow}{mark as brainliest }

Answered by afnanlone67
1

Explanation:

Images enhance visual appearance of the web pages by making them more interesting and colorful.

The <img> tag is used to insert

images in the HTML documents.

It is an empty element and contains

attributes only. The syntax of the

<img> tag can be given with:

<img src="url" alt="some_text">

The src attribute tells the

browser where to find the image.

Its value is the

URL of the image file.

Whereas, the alt attribute provides an alternative text for the image, if it is unavailable or cannot be displayed for some reason. Its value should be a meaningful substitute for the image.

\huge \colorbox{yellow}{mark as brainliest }

Similar questions