html Flashcards
what does the “id” attribute do
specifies different content, helpful when you use an element more than once
<em></em>
emphasises text
<strong></strong>
makes text bold
<br></br></br>
line break
<ul></ul>
creates an unordered list
<li></li>
adds individual items to the unordered list
whats an unordered list
a list that doesnt have numbers like 1. , 2.
<ol></ol>
ordered list
alt attribute
- ## If an image fails to load on a web page, a user can mouse over the area originally intended for the image and read a brief description of the image
<video></video>
adds a video url
<a></a>
anchor element which connects 2 links
how to open a different link in a NEW WINDOW
<a href = (link) target=”_blank”></a>
how to open a different link by clicking on an image
<a href=”(newlink)” target=”_blank””><img></img></a>
how to create a link that takes you to a different part of the same page
href = “#(id of the part of the page)”
how to make a comment
start with <!-- end with -->