COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Structural Elements
|
|
Self-Closing Tag
|
|
Attributes
|
|
Property
|
|
Server Side
|
Detailed explanation-1: -Span and div are both generic HTML elements that group together related parts of a web page. However, they serve different functions. A div element is used for block-level organization and styling of page elements, whereas a span element is used for inline organization and styling.
Detailed explanation-2: -Content sectioning elements allow you to organize the document content into logical pieces. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content.
Detailed explanation-3: -The <html> element is the root element and it defines the whole HTML document. It has a start tag <html> and an end tag </html> . The <body> element defines the document’s body.
Detailed explanation-4: -A div and section element are both used to divide a web page into sections.
Detailed explanation-5: -Two commonly used block elements are: <p> and <div> . The <p> element defines a paragraph in an HTML document. The <div> element defines a division or a section in an HTML document. The <p> element is a block-level element.