Details for a topic

HTML Quiz

--

All cards

Which tag allows the largest heading?

<h1>


How to link a CSS stylesheet to a HTML document?

<link rel="stylesheet"  href="stylesheetname.css">


Which tag let you create a horizontal line?

<hr/>


How to emphasize text ?

<i>text</i>


What are the 5 required tags in a conform HTML document?

<!DOCTYPE>, <html>, <head>, <body>, et <title>


For the "input" element, what value for the "type" attribute allows to create a checkbox?

<input type="checkbox">


What is the direct firstchild most commonly used in a unordoned list <ul>?

<li> content</li>


What is the correct to define an element used only once in a document that you would like to style?

"id"

ex: <p id="exemple"> content </p>


Within which tag are the elements non visible on the web page?

<head> content </head>


What is the role of the "class" attribute?

Specify the class of some elements which are to be styled differently (the "id" attribute is for only one element)


What are the 2 required attributes for an <img> tag?

"src" and "alt"


Which element allows to create a navigation menu?

<nav>


<sub>


<sup>


<dl>


<u>


<span> est un élément de type "inline"

<div> est un élément de type "block"


<!DOCTYPE html>


/


A définir un script côté client (comme JavaScript par exemple) ?


<a href="url" target="_blank">


<ol> and <li>


<select>


<!-- comment -->


Ajouter un label à un champs de données <input> dans un formulaire


<th>