Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .red { color: red; } .orange { color: orange; } </style> </head> <body> <h1>Example of the HTML class attribute</h1> <p class="red">It is a some red paragraph.</p> <p>This is a some text.</p> <p class="orange">It is a some yellow paragraph.</p> </body> </html>