html, css, jQuery, PHP, mySQL

Posts Tagged ‘background colour’

CSS From Scratch. 8:2 Background images.

Wednesday, August 10th, 2011

Many experts agree that it is best to include images in your web page using CSS. This makes it easier to edit them later, and maintains the separation of concerns (CSS used only for appearance, HTML used only for semantic markup). Others disagree, and say that it is better for accessibility to use HTML <img> […]

Tags: , , , , , , , , , , , , , , , , , ,
Posted in Tutorials | No Comments »

CSS From Scratch. 5:2 CSS Properties

Saturday, August 6th, 2011

Before looking further at CSS here are some useful examples of CSS properties. Notice how when we set a border before we used a shorthand which combined declarations for the border width, style and colour into one line: * {border: 1px solid red;} If we wrote these out as separate declarations the CSS would look […]

Tags: , , , , , , , , , , , , , , , , , , ,
Posted in Tutorials | No Comments »

CSS From Scratch 4:2 Syntax

Friday, August 5th, 2011

The asterisk is known as the star selector, or wildcard. It just means “everything” and can be very useful in CSS. * { border: 1px solid red; } This example selected all of the elements in your html document at once, and told the browser to give them all a red border, one pixel wide […]

Tags: , , , , , , , , , , , , , , , , , , ,
Posted in Tutorials | No Comments »

HTML From Scratch. 3:1 HTML Attributes

Friday, August 5th, 2011

For links for this lesson (the W3C online validator) see separate sheet. resources HTML elements can take various attribute and value pairs, which tell the browser something extra about how to display the element, or give more information which can be used by web crawlers (Googlebot et al) or assistive devices such as screen readers. We […]

Tags: , , , , , , , , , , , , , , , , , ,
Posted in Tutorials | 1 Comment »