ID Selector Demo

This page demonstrates the following rule which should make the P tag with an ID attribute value of "warning" appear in red:

p#warning { color: red }

Use your browser's View Source option to see the full source code.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.

Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. Paragraph paragraph paragraph paragraph paragraph paragraph paragraph.