Showing posts with label testing your web site. Show all posts
Showing posts with label testing your web site. Show all posts

Friday, June 07, 2013

Review: Using CSS and SEO update

The External Style Sheet

An external style sheet is a text file that must have the extension .css

eg) "mystylesheet.css"

The HTML page using the style sheet must link to the style sheet with a link written

between <head>and </head>

<link rel="stylesheet" type="text/css" href="mystylesheet.css" />

where href is the path to the style sheet. So, if you put the style sheet in the folder css

the path is href="css/mystylesheet.css" 

 

The Embedded Style Sheet

CSS can also be embedded on the same page as the html
The styles must be between <head> and </head> 
and between
<style type= "txt/css" >
</style>

In-line styles

CSS can also be written "in-line" in between the <body> and </body>

<div style=" width:960px; height:100px; background-color:silver;">

CSS Priority ---The Order of Interpretation

#1 Priority is the Browser's default value... 
#2 The External Style sheet
#3 The embedded Style Sheet
#4 The in-line styles

Remember, you can style ANY html element

selector {property: value;}

Where:

The selector is:
*, Universal, applies to all elements
Any element
A class
An ID
An html5 semantic


Updated the links to W3C's Validation services

Tidy

If you need to convert a page to Xhtml/html5 or you are having trouble getting the page to look the way you want, Tidy may help you solve your problems

Tidy, well cleans up and fixes (if it can) your your markup. The validation and tidy services listed below are built into or linked to from most web editors

There are some older on-line services, like Tidy On-line, or Page Valet, might be useful to you...

Validate

The Basics - what you should run on all your web pages

The SEO page has also been updated


Monday, April 04, 2011

Week One - A Tip "Write a Good, and Unique Title <title></title> for EVERY web page!"

The W3C Quality Assurance Tips for Webmasters.

The Quality Assurance group has put together a list of items that make a "quality" web page.

At the top of the list is the "best" thing you can do to assure a high ranking by web search engines. The best thing? Write a good <title> for your web pages.
Here it is...

 

<title>: the most important element of a quality Web page
The <title> element in HTML is designed to provide a short piece of text that should stand for the document in cases such as:
• window title bars
• bookmark lists
• result lists from search services
A good title
So take care to give your page a good title:
not too short
"Section One" won't help much when it shows up in a search results list. Section one of what?. Better: <title>Section
One of the Modern Music Guide</title> or even better <title>Time Frame (the Modern Music Guide, Section 1)</title>
not too long
Because only 60 to 80 characters are displayed in many window titles, menus, etc.; you can give a more detailed/pleasant title in the top level heading of your document, e.g. <h1>Section One: When has the Modern Time Commenced, Musicwise?</h1> (with a link to the whole Modern Music Guide for context).

 

There are more tips, you'll find them here at The W3C Quality Assurance Tips for Webmasters website.

Sunday, May 02, 2010

Create A Web Site - Week 4

FTP --Uploading your web site...

The program of choice is Filezilla. There are versions for PC, Mac and Linux... There is a PC and Mac version on the CD (portable program version for your flash drive or you can install it on your computer at home).
Your text book has information about Filezilla in Chapter 8 pages 317 -320.  You'll also find some tips on using Filezilla in Lesson 4.
In class we used Filezilla to connect to a live web site...
If you need the password to use one of the classes free web sites, send me an e-mail.
After you upload your test web site in it's own folder, send me an e-mail... I'll made a main page on the test sites that will list links to fellow class members so they may view your web site... or just post the URL of your web site here!
The links to the web sites are here
Amsterdam (ad free) Angelfire (free but, they place ads on your page)...


Once you have uploaded a web site... always test the site!
1. Visit it on different computer, other than the one you used to develop it.
2. Have someone else visit your web pages... Your fellow students make good tester/critics or hire some one... or invite your neighbor over and buy 'em lunch or a serve some locally brewed ale!

More tomorrow...