html, css, jQuery, PHP, mySQL
Wednesday, August 10th, 2011
TweetMany 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: accessibility, appearance, attribute, background color, background colour, background image url, color hex, colour name, colour value, decorative features, element, level elements, repeat repeat, rgba, screen readers, semantic markup, shorthand, span, transparency
Posted in Tutorials | No Comments »
Saturday, August 6th, 2011
TweetBefore 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: background colour, border color, border width, comma separated list, css properties, declarations, element, font families, font family names, fonts, hyphen, line border, sans serif, serif font, shorthand, source of information, style font, text colour, times new roman, w3schools
Posted in Tutorials | No Comments »
Friday, August 5th, 2011
TweetThe 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: asterisk, background color, background colour, body background, body element, body tag, caption, css properties, curly braces, dashes, dots, element name, html attributes, html body, html document, one good reason, quot, semi colon, text colour, value pair
Posted in Tutorials | No Comments »
Friday, August 5th, 2011
TweetFor 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: assistive devices, attribute, background colour, bgcolor, body tag, element, elements, html attributes, lt, mypage, quality examples, quotes, screen readers, universal resource locator, value pair, value pairs, w3c schools, web crawlers, web page
Posted in Tutorials | No Comments »