Programmation Web 1 : Cours 05

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Alexandre Laporte
A
Alexandre Laporte
Community Contributor
Quizzes Created: 1 | Total Attempts: 65
Questions: 13 | Attempts: 65

SettingsSettingsSettings
Programmation Web 1 : Cours 05 - Quiz


Questions and Answers
  • 1. 

    La balise <________> permet d'insérer un lien.

    Explanation
    The correct answer is "". The "" tag is used to insert a link in HTML.

    Rate this question:

  • 2. 

    Quel est l'attribut obligatoire lorsqu'on désire insérer un lien?

    • A.

      Target

    • B.

      Link

    • C.

      Src

    • D.

      Href

    Correct Answer
    D. Href
    Explanation
    The correct answer is "href". When inserting a link, the "href" attribute is mandatory as it specifies the URL or destination of the link.

    Rate this question:

  • 3. 

    Ceci est un bon exemple de lien interne : <a href="http://google.com">Texte visible</a>

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Il s'agit ici d'un lien externe.

    Rate this question:

  • 4. 

    Quel type d'URL devrions-nous utiliser pour naviguer entre les différentes pages de mon site?

    • A.

      URL relative

    • B.

      URL absolue

    Correct Answer
    A. URL relative
    Explanation
    URL relative should be used to navigate between different pages of a website. Relative URLs are specified in relation to the current page, making it easier to move or rename pages without breaking links. They only include the portion of the URL that is necessary to reach the desired page, without specifying the entire address. This allows for more flexibility and adaptability when managing and organizing a website.

    Rate this question:

  • 5. 

    L'attribut ________ permet de déterminer dans quel cadre/quelle fenêtre le lien s'ouvrira.

    Correct Answer
    target
    Explanation
    The attribute "target" is used to determine in which frame or window the link will open.

    Rate this question:

  • 6. 

    L'attribut ________ permet de lier un label avec un élément grâce à son id.

    Correct Answer
    for
    Explanation
    The word "for" is the correct answer because it is the attribute that allows linking a label with an element using its id.

    Rate this question:

  • 7. 

    La balise <input> permet la saisie de données par l'utilisateur.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement is true because the tag in HTML is used to create an input field where users can enter data. This tag allows users to input various types of data such as text, numbers, checkboxes, radio buttons, etc. Therefore, it enables the user to interact with the webpage and provide input.

    Rate this question:

  • 8. 

    Sélectionne les types (attribut type) de données possibles avec l'utilisation de la balise <input>.

    • A.

      Reset

    • B.

      Mail

    • C.

      Url

    • D.

      New

    • E.

      Text

    • F.

      Textarea

    • G.

      Password

    • H.

      Checkbox

    • I.

      Random

    • J.

      Email

    • K.

      Paragraph

    • L.

      Submit

    • M.

      Tel

    • N.

      Radio

    • O.

      Number

    • P.

      File

    Correct Answer(s)
    A. Reset
    C. Url
    E. Text
    G. Password
    H. Checkbox
    J. Email
    L. Submit
    M. Tel
    N. Radio
    P. File
    Explanation
    The given answer lists the possible values for the "type" attribute of the tag. These values determine the type of input that can be entered by the user. The correct answer includes text, email, tel, url, password, checkbox, radio, file, submit, reset. These represent different types of input fields such as text input, email input, telephone number input, URL input, password input, checkbox input, radio button input, file upload input, submit button, and reset button. Other options mentioned in the question such as new, random, textarea, paragraph, mail, and number are not valid values for the "type" attribute.

    Rate this question:

  • 9. 

    Existe-t-il une meilleure façon que d'utiliser un <input> de type submit pour soumettre un formulaire?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Vrai. Il s'agit de la balise de type submit.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jun 16, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 25, 2020
    Quiz Created by
    Alexandre Laporte
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.