-
What does wrap attribute denote?
-
- Whether the text is highlighted
- Whether the text is in bold
- Whether the text is wrapped
- Whether the text is in italics
- 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.