`
**Inline** elements display in a line. They do not force the text after them to a new line.
An anchor (or link) is an example of an inline element. You can put several links in a row, and they will display in a line.
Examples of inline elements:
- ``
- ``, ``, ``, ``, `
, ` - `` The `img` tag is also an example of an inline element, meaning that unless they are floated (covered later in CSS) they will flow horizontally with text and other inline elements. Take a look at the codepen below, notice that each of the paragraph tags are presented as a block and the anchor tag stays inline. Try moving the img tag inside one of the paragraph tags. ***What do you think will happen?*** ***Did you notice that the image can sit between words in the paragraph?*** the default display properties of an element can be changed using CSS styles. #### Nesting Nesting in HTML refers to placing elements inside other elements. for example placing an <img> element inside a <p> element. when creating a list, the line items (<li> tags) are nested within <ul> or <ol> tags. there are a couple of rule for nesting. 1. You can't open a tag in one element and close it in another, make sure you're closing tags are in the correct order. 2. You shouldn't nest block elements inside inline elements. ```HTML```The about page