|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes More Codes... HTML ReferenceComplete HTML Tag ListHTML Special Characters Hex Color Codes HTML Help Got a MySpace Page?Get "www.yourname.com" for your MySpace page. Learn how >>. |
HTML BordersThe best way to create HTML borders is to actually use CSS (Cascading Style Sheets). You can include CSS within your HTML code by using the There are a range of properties that you can use to determine borders but the shorthand Below are some examples of what you can do with HTML, borders, and CSS. Solid Border
This code results in:
HTML borders are best created with CSS.
Dotted Border
This code results in:
HTML border code - or should that read CSS border code?
Hybrid Border
<div style="width:200px;height:100px;border-width:6px;border-color:blue;border-style:dotted dashed solid double;">
Create borders for any HTML element.
</div>
This code results in:
Create borders for any HTML element.
For more info, check out the various border properties on the CSS Properties list. Enjoy this website?
Oh, and thank you for supporting Quackit! |
FREE Hosting!With every domain name you register with ZappyHost, you get FREE (ad supported) hosting.PLUS you get:
Featured Template:
(Build your websites in minutes!) |