completed margin and padding exercises

This commit is contained in:
Jacob Delgado 2023-06-02 02:43:31 -07:00
parent cb592ef819
commit 54f62c70e9
2 changed files with 7 additions and 1 deletions

View File

@ -830,4 +830,9 @@ p {
- Inline block elements behave like inline elements, but with block-style padding and margin - Inline block elements behave like inline elements, but with block-style padding and margin
- Can be useful, but nowadays people use **flexbox** more often - Can be useful, but nowadays people use **flexbox** more often
#### Divs and Spans #### Divs and Spans
- Block-level element, separates parts of the page for organization purposes. - Block-level element, separates parts of the page for organization purposes.
- This is also known as a "container" element
- `Span` is an inline-level element by default, but it can be used to group text content and inline HTML elements for styling and should only be used when no other semantic HTML element is appropriate.
#### Ending exercises
- W3 schools [block-level elements in HTML with descriptions](https://www.w3schools.com/html/html_blocks.asp)
-

@ -0,0 +1 @@
Subproject commit 07e096da6ca4a659dc8ac1b5c6e67bf27b4cb139