Computer Science, asked by muskan150325, 10 months ago

Q1. Why do we need lists in a document?
Q2. What are the types of lists?Explain them.
Q3. What is Nesting List?Write the syntax.
Q4.What is the importance of a table?Compare table with a paragraph and list.
Q5.How do we create a Table in HTML?
Q6. Differentiate between Cell padding and Cell spacing.​
please give the answer and help me.....
chapter 3 lists and tables in HTML....
these are questions of computer....

Answers

Answered by abirami200014
2

Answer:

Q1:Lists are good from a structural point of view as they help create a well-structured, more accessible, easy-to-maintain document. They are also useful because they provide specialized elements to which you canattach CSS styles.

Q2:unordered list — used to group a set of related items in no particular order

ordered list — used to group a set of related items in a specific order

description list — used to display name/value pairs such as terms and definitions

Each list type has a specific purpose and meaning in a web page.

Q3:The syntax for a nested if statement is as follows − if( boolean_expression 1) { /* Executes when the boolean expression 1 is true */ if(boolean_expression 2) { /* Executeswhen the boolean expression 2 is true */ } } You can nest else if...else in the similar way as you have nested if statements.

Q4:The best reason to use a table to organize data often make it easy to spot trends andcompare values for data over time

Q5:To create table in HTML, use the <table> tag. A table consist of rows and columns, which can be set using one or more <tr>, <th>, and <td> elements. A table row is defined by the <tr> tag. To set table header, use the <th> tag.

Q6:Cellspacing is the space betweenboxes. Cellpadding is the spacebetween the content inside the box and its borders. Cell Spacing is used to set space between different tablecells. CellPadding is used the spacebetween the edges of the cell and the content of the cell.

HOPE IT WILL HELPS U

Answered by ruchibharota41806
3

Answer:

Hope it helps........

Attachments:
Similar questions