5
HTML: Element Backgrounds
Posted in Blog, HTML Tutorials by Admin
Background Color
By using the style attribute with the background-color property, you can add color to about any HTML element.
1
<p style="background-color: #f9f581;">Content goes here.</p>
Content goes here.
Using the <div> element, you have the ability to add background color to a group of elements.
1
2
3
4
5
6
7
<div style=&
more
5
HTML: Menu Lists <ul>, Definition Lists <dl>
Posted in Blog, HTML Tutorials by Admin
Traditionally, lists came in two flavors: unordered lists (<ul>), and ordered lists (<ol>). With HTML 4.01 you only need to use <ul>. You can specify the marker using the style attribute. Default spacing does differ among browsers. Use the <ul> tag to begin a list. Place the <li></li> (
more
5
HTML: Images
Posted in Blog, HTML Tutorials by Admin
Use the <img> tag to place an image on your Web page. The src="" attribute stands for source or URL of the image. For an image to be seen on the Web, it must be upload to your host. The alt="" attribute specifies alternate text to be displayed if for some reason the browser
more
5
HTML: Horizontal Rules <hr>
Posted in Blog, HTML Tutorials by Admin
Use the <hr> tag to display lines across the screen. Like the <br>, the <hr> has no ending tag. The default spacing above and below the rule, as well as appearance, can vary depending on the browser you are using so use them sparingly. Do not use the <hr> tag within the &
more
5
HTML: Font Sizes
Posted in Blog, HTML Tutorials by Admin
First you need to understand what the difference is between pixels, points and ems when sizing your text.
Pixels and points are static measurements. 1 pixel is always 1 pixel. 1 point is always 1 point. Points are a little different because they change size based on DPI. On paper, with its higher DPI, 12 point text is actually more pixels that 12 point text on
more





Follow Us