Home » HTML » Html miscellaneous » Question
  1. What does wrap attribute denote?
    1. Whether the text is highlighted
    2. Whether the text is in bold
    3. Whether the text is wrapped
    4. Whether the text is in italics
    5. None of these
Correct Option: D

wrap is the attribute of <textarea> element and it indicates whether the text should be wrapped. Syntax: <textarea wrap=””> if we use wrap=”hard” it will contain newlines in the submission of a form. This attribute is newly introduced by HTML5 and is supported by all the browsers.



Your comments will be displayed only after manual approval.