# Selects all <p> elements that are placed immediately after <div> elements with CSS

CSSWeb DevelopmentFront End Technology

Use the element+element selector to select elements placed after first specified element. You can try to run the following code to implement this,

#### Example

Live Demo

<!DOCTYPE html>
<html>
<style>
div + p {
color: white;
background-color: blue;
}
</style>
</html>