<!DOCTYPE html> <html> <head> <style> .anyname{ width:100%; height:200px; border:1px solid black; } </style> </head> <body> <article class="anyname"> This is an article that has 100% width and 200px height. The widht of border is 1px. The color of border is black. See one more example for another element. </article> </body> </html>
Run
×
Share