Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> blockquote.different { font-size: 2em; color: yellowgreen; } </style> <blockquote class="different">Price is what you pay. Value is what you get.</blockquote> <p class="different">Although this paragraph has the same class as the above blockquote, it doesn't get styled as such, because the style sheet specifies that the styles apply to the class ONLY when its applied to the 'blockquote' element.</p>
Preview