Up until this point, we have only dealt with the content (xHTML between the <body> and </body> tags) and styling of a page (through the use of an external Cascading Style Sheet), but there is more to creating a web page than that. In addition, each page also has what is called a <!DOCTYPE> declaration, […]
Author: Author EdiTHor
The Cascade in CSS: Tags, classes, pseudoclasses, etc.The Cascade in CSS: Tags, classes, pseudoclasses, etc.
Which takes precedence? tag .class tag.class tag:pseudoclass tag.class:pseudoclass What if you add ids into the mix? It can seem confusing when you start adding all these little details to the rules of CSS precedence, but you should always keep in mind that the more specifically-targeted elements will always take precedence over the more generically(or generally)-targeted […]
xHTML Meta TagsxHTML Meta Tags
In the previous page of these tutorials, titled Inside the Head of a Web Page, we covered pretty much everything inside the <head> section except <meta> tags. Here, you will learn some of the different uses for these tags. Keywords and Description Two of the most common uses for <meta> tags are for adding a […]
Target Still Missing the MarkTarget Still Missing the Mark
Now that we’ve made it through the first series of tutorials, I thought I’d skip tutorials for a day and post a little editorial instead. I stumbled upon this little piece Sunday night, it’s not really news since it happened a few years ago. But, it’s a perfect example of why it’s important to pay […]
Inside the Head of a Web PageInside the Head of a Web Page
In the previous post of these tutorials, we got into the anatomy of a web page. There, we covered the <!DOCTYPE>, <html>, <head>, and <body> tags. Now we’ll delve into the <head> section, starting with the <title> tag. <title> The <title> tag is very simple. All it does is put the title of your page […]
Website Review: bestbuy.comWebsite Review: bestbuy.com
I have to say, I was pretty disappointed when I ran bestbuy.com through w3c’s markup validator and it displayed 1223 errors and 1185 warnings. I’ve always liked my local brick and mortar Best Buy. Their staff are always friendly and knowledgeable, and they’ve never steered me wrong. They even have their famous Geek Squad (ouch, […]
Server-Side Includes (SSI)Server-Side Includes (SSI)
Would you like to change one link in one file and have it change on all of your pages instantly? Server-side scripting isn’t the same as xHTML or CSS, and it can be an advanced topic for people who are just starting out. But, ‘including’ a content file into every page can be just as […]
CSS Photo GalleryCSS Photo Gallery
There are many ways to make a photo gallery. Some use javascript to pop up a larger image in the same or a different window. Some load a new page for every enlarged image. You could easily use an iframe, but since those are bad for accessibility, I stay away from iframes as much as […]
Is Your Layout Not Working Out Right?Is Your Layout Not Working Out Right?
Does your sidebar keep dropping below your content instead of sitting beside it? Is there a huge gap between the two? Where is all that extra space coming from below the header? Why are the sidebar and content overlapping? Sometimes these problems arise from a missing or extra </div> in your xHTML. Other times, it […]
Screen ResolutionsScreen Resolutions
One thing you always need to keep in mind when designing a web page, is that it will never look the same size on everyone else’s screen as it does on yours. What’s that? You read me right. Never. Yes, it will look the same for many people, but not even nearly all. Not only […]