What is external CSS?
External CSS is a method of styling web documents by placing all style rules into a separate file with a .css extension.What is the difference between an inline element and decline element ?
Block elements: They consume the entire width available irrespective of their sufficiency. They always start in a new line and have top and bottom margins. It does not contain any other elements next to it.
Inline elements: Inline elements occupy only enough width that is sufficient to it and allow other elements next to it which are also inline. Inline elements don't start from a new line and don't have top and bottom margins as block elements have.
Top comments (0)