Skip to main content

Posts

Showing posts with the label NestedLists

Nested Lists

Nested Lists Send Feedback Write HTML code that centers an h1 element with the content "My name is: YourName." The text should be underlined and in italics using HTML. Next, a line should be given below it. After that, nested lists with the specified bullet styling should be created, as shown below. Additionally, your favorite books, writers, subjects, and fields that you wish to explore should be added to the nested lists. Give the following bullet styling to the unordered lists: -  Unordered list-1 : "square" -  Unordered list- : "square" -  Unordered nested list for list-1 : "disc" -  Unordered nested list for list-2 : "circle" -  Ordered list-1 : "I" -  Ordered list-2 : "I" -  Ordered nested list for list-1 : "a" -  Ordered nested list for list-2  : "1" code for this question  <!DOCTYPE html> <html lang="en">   <head>     <meta charset="UTF-8" />    ...