Yes, but it’s not a div
, it’s a fieldset
fieldset {
border: 1px solid #000;
}
<fieldset>
<legend>AAA</legend>
</fieldset>
More Related Contents:
- Applying an ellipsis to multiline text [duplicate]
- How to modify the fill color of an SVG image when being served as background image?
- Curve bottom side of the div to the inside with CSS
- height: 100% or min-height: 100% for html and body elements?
- Render a string in HTML and preserve spaces and linebreaks
- CSS Progress Circle
- How do I get a div to float to the bottom of its container?
- Change Bootstrap tooltip color
- Use css gradient over background image
- Flexbox not giving equal width to elements
- Bootstrap 3 collapsed menu doesn’t close on click
- Disabled form fields not submitting data [duplicate]
- How to change text transparency in HTML/CSS?
- Is it possible to always show up/down arrows for input “number”?
- How can I put DIV in P?
- What is the browser-default background color when selecting text?
- How to center image horizontally within a div element?
- How to make a stable two column layout in HTML/CSS
- CSS Expressions
- How do I get a flexbox to have a center fixed and a bottom fixed children together?
- What’s the difference between HTML’s and CSS’s width attribute?
- Why does the general-sibling combinator allow toggling pseudo-element’s content, but not the adjacent-sibling?
- How do I make flex box work in safari?
- Removing unwanted table cell borders with CSS
- Why is translateY(-50%) needed to center an element which is at top: 50%?
- Transparent scrollbar with css
- Make A List Item Clickable (HTML/CSS)
- Bootstrap row and col explanation
- Why use a sprite sheet rather than individual images?
- Adding text before list