HTML Attributes Flashcards
1
Q
Used along with img element for selecting the source path of that image
A
src
2
Q
Alternative text for image
A
alt
3
Q
When setting this fixed you could have a hard time overriding it later in CSS
A
width
4
Q
Dimensions in HTML? (Height / Width)
A
Better to set it in the CSS
5
Q
Set path in hyperlink
A
href
6
Q
Opens new page
A
target (target = “_blank”)
7
Q
Refers to relation for example stylesheet
A
rel
The rel attribute defines the relationship between a linked resource and the current document. Valid on <link></link>, <a>, <area></area>, and <form>, the supported values depend on the element on which the attribute is found.</a>