Section 1

Preview this deck

image element tag with style and alt attributes

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (14)

Section 1

(14 cards)

image element tag with style and alt attributes

Front

<URL" alt="info" style="width:#px;height:#px;">

Back

basic setup

Front

<!DOCTYPE html> <html> <body> </body> </html>

Back

image element tag with alt attribute

Front

<img src="URL" alt="info">

Back

header element tag

Front

<h></h> (goes from h1-h6, larger to smaller)

Back

style attribute vs width and height attributes

Front

You can use the style attribute to specify the width and height of an image. You can do the same with width and height, except with them you don't need "px" as a unit. Both the width, height, and style attributes are valid in the latest HTML5 standard. It's suggested you use the style attribute. It prevents styles sheets from changing the original size of images.

Back

alt attribute

Front

The alt attribute specifies an alternate text for an image, if the image cannot be displayed.The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).If a browser cannot find an image, it will display the alt text.

Back

image element tag with width and height attributes

Front

<img src="URL" alt="info" width="#" height="#">

Back

area element tag (used within a map tag to define clickable areas in the map)

Front

<area>

Back

map element tag with name (the name attribute of the <map> tag is associated with the <img>'s usemap attribute and creates a relationship between the image and the map.)

Front

<map name="text"> </map>

Back

image element tag with usemap attribute (the name attribute of the <map> tag is associated with the <img>'s usemap attribute and creates a relationship between the image and the map.)

Front

<img src="planets.gif" usemap="#planetmap">

Back

image element tag

Front

<img src="URL">

Back

map element tag (used to define an image map)

Front

<map></map>

Back

paragraph element tag

Front

<p></p>

Back

image element tag with float property (CSS Property)

Front

<img src="URL" style="float:left> (or style="float:right>)

Back