Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> h1 + p { font-size: 1.4em; color: gray; } </style> <h1>Adjacent sibling combinator example</h1> <p>This is the first paragraph of the article. Sometimes you might want this paragraph styled differently to the rest of the article.</p> <p>This is the rest of the article. This is styled in the normal way for the article content (i.e. it isn't styled the same as the first paragraph). </p>
Preview