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

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

اختبار محاكي

Introduction to HTML5: Part 2

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

  1. ١

    A key benefit of the new HTML5 input types is that they are:

  2. ٢

    The autofocus attribute may be used on how many input elements per form?

  3. ٣

    Which input type accepts a date in the format yyyy-mm-dd?

  4. ٤

    For the email input type, HTML5 validation checks that the address:

  5. ٥

    Which attribute places temporary gray hint text in a field?

  6. ٦

    Which attribute forces the user to enter a value before submitting?

  7. ٧

    Which input type renders as a slider and is inherently self-validating?

  8. ٨

    Which input type is NOT self-validated, so a pattern attribute is used to enforce a format?

  9. ٩

    A form needs a phone-number field that must follow the format (555) 555-5555. Which is the correct approach?

  10. ١٠

    Which element provides a list of suggested options that autocomplete a text input?

  11. ١١

    Even with self-validating inputs, the server should still validate all user input.

  12. ١٢

    The autofocus attribute can be applied to several inputs on the same form.

  13. ١٣

    HTML5 checks whether an email address entered by the user actually exists.

  14. ١٤

    Placeholder text is submitted with the form data.

  15. ١٥

    The required attribute can be added to any of the input types.

  16. ١٦

    The tel input type is self-validating without any extra attributes.

  17. ١٧

    The nav element is used to group navigation links.

  18. ١٨

    The figcaption element provides a caption for the image in a figure.

  19. ١٩

    The mark element indicates the appropriate place to break a word when text wraps.

  20. ٢٠

    The article element describes standalone content that could be distributed elsewhere.

  21. ٢١

    Match each input type with what it accepts.

    • color
    • date
    • email
    • range

    الإجابات

  22. ٢٢

    Match each attribute with its job.

    • autofocus
    • placeholder
    • required
    • pattern

    الإجابات

  23. ٢٣

    Match each number-input attribute.

    • min
    • max
    • step
    • value

    الإجابات

  24. ٢٤

    Match each structural element.

    • header
    • nav
    • footer
    • aside

    الإجابات

  25. ٢٥

    Match each semantic element.

    • figure
    • article
    • meter
    • mark

    الإجابات

أجبت ٠ من ٢٥