top of page

Attribute Exercise

Exercise 1

Add a "tooltip" to the paragraph below with the text "About W3Schools".

qna attribute1.JPG

Exercise 2

Set the size of the image to 250 pixels wide and 400 pixels tall.

qna attribute2.JPG

Exercise 3

Make the element below into a link that goes to "https://www.w3schools.com".

qna attribute3.JPG

Exercise 4

Specify an alternate text for the image.

Alternate text is useful when the image cannot be displayed, like when the page is read by a screen reader.

qna attribute4.JPG
bottom of page