GSNA · Question #136
Samantha works as a Web Developer for XYZ CORP. She develops a Web application using Visual InterDev. She wants to group a series of HTML elements together so that an action can be performed…
The correct answer is A. DIV. DIV is an HTML tag that groups a series of elements into a larger group. It can be used when an action needs to be performed collectively on the grouped elements. The DIV tag acts as a container for other elements. Answer: D is incorrect. The SPAN tag is used within an element…
Question
Samantha works as a Web Developer for XYZ CORP. She develops a Web application using Visual InterDev. She wants to group a series of HTML elements together so that an action can be performed collectively on them. Which of the following tags will Samantha use to accomplish this?
Options
- ADIV
- BGROUP
- CBODY
- DSPAN
How the community answered
(44 responses)- A73% (32)
- B16% (7)
- C2% (1)
- D9% (4)
Explanation
DIV is an HTML tag that groups a series of elements into a larger group. It can be used when an action needs to be performed collectively on the grouped elements. The DIV tag acts as a container for other elements. Answer: D is incorrect. The SPAN tag is used within an element to group a part of it. For example, this tag can be used to group a few sentences from within a paragraph, so that a particular action can be performed only on them. Answer: C is incorrect. The BODY tag is used to specify the beginning and end of the document B is incorrect. There is no tag such as GROUP in HTML.
Topics
Community Discussion
No community discussion yet for this question.