<!DOCTYPE html> <html> <head> <style> p, code, kbd{ font-family:papyrus; background-color:red; } </style> </head> <body> <p>p tag is being designed by the type name selector 'p'.</p> <code>code tag is being designed by the type name selector 'code'.</code> <kbd>kbd tag is being designed by the type name selector 'kbd'.</kbd> <br><bt> Note: In this case, selectors list is being used to design the elements. </body> </html>
Run
×
Share