أنظمة وتقنيات الويب

اختبار الفصل ٢

اختبار محاكي

Introduction to HTML5

٢٥ أسئلة · اختيار من متعدد، صح/خطأ، وتوصيل. أجب ثم اضغط «تسليم الاختبار».

  1. ١

    The DOCTYPE declaration is required in HTML5 so that browsers render the page in:

  2. ٢

    HTML5 comments start and end with:

  3. ٣

    The most popular character-encoding scheme for the web is:

  4. ٤

    Which element creates a hyperlink?

  5. ٥

    Which attribute MUST every img element have (for accessibility)?

  6. ٦

    Which form method appends the data to the URL where it is visible in the address field?

  7. ٧

    Which input type masks the entered characters (e.g. with asterisks)?

  8. ٨

    How many heading levels does HTML5 provide, and which is largest?

  9. ٩

    A signup form must send its data to register.php WITHOUT the data appearing in the address bar. Which opening tag is correct?

  10. ١٠

    In a table, which element defines a header cell?

  11. ١١

    The browser ignores HTML comments when rendering the page.

  12. ١٢

    The content of the head section is displayed in the page body.

  13. ١٣

    A void element (such as img or br) has no end tag.

  14. ١٤

    The h1 heading is rendered in the smallest font.

  15. ١٥

    With method="post", the form data is appended to the URL and visible in the address bar.

  16. ١٦

    In a group of radio buttons, only one button can be selected at a time.

  17. ١٧

    For a password input, the actual value (not the masking asterisks) is sent to the server.

  18. ١٨

    The <hr> horizontal rule is a legacy element you should avoid, using CSS instead.

  19. ١٩

    To link internally to an element by its id, you set href to #id.

  20. ٢٠

    When a URL does not specify a document, the server often returns index.html.

  21. ٢١

    Match each structural element.

    • html
    • head
    • body
    • title

    الإجابات

  22. ٢٢

    Match each attribute with its job.

    • href
    • src
    • alt
    • method

    الإجابات

  23. ٢٣

    Match each element.

    • ul
    • ol
    • tr
    • th

    الإجابات

  24. ٢٤

    Match each form input.

    • text
    • password
    • checkbox
    • radio

    الإجابات

  25. ٢٥

    Match each concept.

    • DOCTYPE
    • Void element
    • meta keywords
    • index.html

    الإجابات

أجبت ٠ من ٢٥