Quantcast
Channel: SitePoint » Ian Lloyd
Browsing all 10 articles
Browse latest View live

Learn HTML and CSS: An Absolute Beginner’s Guide

Splitting Up the Page We’ve been making good progress on our fictitious site … but is a web site really a web site when it contains only one page? Just as the question, “Can you have a sentence with...

View Article



Learn HTML and CSS: An Absolute Beginner’s Guide

Chapter 3. Adding Some Style Earlier in this article, we stepped through the process of setting up your computer so that we could develop web sites, and pulled together the beginnings of a web site...

View Article

Learn HTML and CSS: An Absolute Beginner’s Guide

Adding Inline Styles Open about.html in your text editor, and add an inline style. We want to make the text in the first paragraph after the “About Us” heading bold and blue. Refer to the previous...

View Article

Learn HTML and CSS: An Absolute Beginner’s Guide

External Style Sheets Why External Style Sheets Are Better than Embedded Styles An external style sheet provides a location in which you can place styles that can be applied on all of your web pages....

View Article

Learn HTML and CSS: An Absolute Beginner’s Guide

Starting to Build Our Style Sheet The style sheet is ready to be used: it’s saved in the right location, and all of your web pages (all three — count ‘em) are linked to it correctly. All we need to do...

View Article


Learn HTML and CSS: An Absolute Beginner’s Guide

A Mixture of New Styles Let’s change the look of the site a little more — we’ll add more styles to the body, and change the look of the navigation. Copy the CSS below into your style1.css file (or copy...

View Article

Learn HTML and CSS: An Absolute Beginner’s Guide Article

A Beginner’s Palette of Styling Options We’ve looked at some examples of styles that can be applied to your web pages through CSS, but the examples we’ve seen have been a mixed bag (and deliberately...

View Article

Learn HTML and CSS: An Absolute Beginner’s Guide Article

Looking at Elements in Context Here’s a riddle for you: which of these items is bigger? A pen or a sheep? Well, the answer is either, depending on the context. If you were a farmer, you’d swear that...

View Article


Learn HTML and CSS: An Absolute Beginner’s Guide Article

Which Rule Wins? When we added the grouped declaration for the headings, we changed some styles that we’d set previously. A look at the source shows that the level two heading, h2, has been set to be...

View Article


Learn HTML and CSS: An Absolute Beginner’s Guide Article

Class Selectors To date, we’ve discussed the ways in which we can style various elements, such as paragraphs and headings; we’ve also seen how we can style elements in specific areas of the page using...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images