HTML internet service Flashcards
(13 cards)
what is the purpose of <head>
it contains metadata, script, styles
how do you write a paragraph in html
<p> this is a paragprah </p>
which tag creates a hyperlinks
<a>link text </a>
which tag is used for images
<img src = “rhul logo” alt=”description>
name two inline-level element
<div>, <p>
</p></div>
name two inline level element
<a>, <img></img></a>
what attribute sets image text if it cant load
alt
how do you create an ordered list
<ol><li>item 1</li><li> item 2 </li></ol>
how to create an unordered list
<ul><li> item 1 </li><li> item 2</li></ul>
how do you make bold text
<b> this text is bold </b>
how do you make emphasized text
<em> this is emphasized text </em>
what is an attribute
key value pair inside a tag that gives extra information
where should you place the
tag containing JavaScript
inside the head <head> or at the end of the <body> for better performance