HTML TAGS Flashcards
p
opening and closing a paragragh
strong
makes the text between them bold
em
change the text between them to italics
h1-h6
Heading tags h1 is the biggest and H6 is the smallest
pre
lets you display the text exactly like it is typed with all the white spaces
ul
opening and closing an unordered list
ol
opening and closing an ordered list
dl
opening and closing a definition list
dt
the name or term in definition list
dd
the explanation in the definition list
img
a tag that does not need a closing tag. used to insert an image
img-src
attribute specifies a URL that identifies
the location of the image to be displayed. only tag in img that is mandatory.
img-alt
describes the image if the image can not be shown or if for instance a blind person is using a read at load it will read the alt text so that that person can know what the image is about
img-title
identifies the text when a mouse hovers over the image
img-longdesc
this attribute identifies another webpage that contains more information about the image