90.0k views
4 votes
Can an unordered list element hold raw text? Can it automatically format raw text into an unordered list?

A) Yes
B) No

User Mady Daby
by
7.9k points

1 Answer

5 votes

Final answer:

No, an unordered list element cannot automatically format raw text into an unordered list. Raw text must be enclosed within list item tags to be part of the unordered list.

Step-by-step explanation:

An unordered list element in HTML, designated by the <ul> tag, is meant to contain list items marked by the <li> tag. Raw text placed directly within the <ul> will not be automatically formatted into an unordered list. Instead, raw text needs to be enclosed within <li> tags, which are then nested within the <ul> tag, to properly format the content into a list. Therefore, the correct answer to the question is B) No.

User Reza Mamun
by
9.0k points