Images have display: inline
by default.
You might want to put the image inside the paragraph.
<p><img /></p>
More Related Contents:
- change the menu font size
- Can I debug by CSS code in easy way for beginner?
- How to write a:hover in inline CSS?
- Landscape printing from HTML
- Use images instead of radio buttons
- CSS grid square layout [duplicate]
- Is it possible to have two background colors for a single html element? [duplicate]
- Masonry-style Layout ONLY with CSS
- How to prevent scrollbar from repositioning web page?
- Two inline-block, width 50% elements wrap to second line [duplicate]
- Expanding a parent to the height of its children
- How to hide image broken Icon using only CSS/HTML?
- Can you link to a CSS file from an email?
- Why does vw include the scrollbar as part of the viewport?
- Why does overflow hidden stop floating elements escaping their container?
- HTML-Tooltip position relative to mouse pointer
- `margin:auto;` doesn’t work on inline-block elements
- How to replace color of PNG image using CSS? [duplicate]
- How to calculate required hue-rotate to generate specific colour?
- CSS Styling text areas like notebook-look
- What is haslayout?
- Bootstrap 3: Push/pull columns only on smaller screen sizes
- How can I write ‘a:hover’ in inline CSS?
- Is there a reason to use a instead of a:link or a:visited in my stylesheet?
- Generate scroll bar for overflow to the left
- How do I remove the horizontal scrollbar in a div?
- Change color of bootstrap navbar on hover link?
- Internet Explorer and clip-path
- How do I make a text input non-editable?
- Create wavy borders in CSS for top and bottom borders