HTML Block
<div> element
<div> Defines a section in a document(block-level)The <div> component is regularly utilized as a compartment for other HTML components.
The <div> component has no required properties, yet both style and class are normal.
At the point when utilized together with CSS, the <div> component can be utilized to style squares of substance:
<span> element
<span> Defines a section in a document (inline)The <span> component is regularly utilized as a compartment for some content.
The <span> component has no required characteristics, yet both style and class are normal.
At the point when utilized together with CSS, the <span> component can be utilized to style parts of the content:




0 comments:
Post a Comment