Free Web Hosting with Website Builder

Monday, April 13, 2009

HTML Entity Codes

Standard ASCII set, HTML Entity names, ISO 10646, ISO 8879, ISO 8859-1 Latin alphabet No. 1

Browser support: All browsers

ASCII
Symbol
HTMLNumber
HTMLName
Description
Dec
Hex
3220   space
3321!! exclamation point
3422"""double quotes
3523## number sign
3624$$ dollar sign
3725%% percent sign
3826&&&ampersand
3927'' single quote
4028(( opening parenthesis
4129)) closing parenthesis
422A** asterisk
432B++ plus sign
442C,, comma
452D-- minus sign - hyphen
462E.. period
472F// slash
483000 zero
493111 one
503222 two
513333 three
523444 four
533555 five
543666 six
553777 seven
563888 eight
573999 nine
583A:: colon
593B;&#59; semicolon
603C<&#60;&lt;less than sign
613D=&#61; equal sign
623E>&#62;&gt;greater than sign
633F?&#63; question mark
6440@&#64; at symbol
6541A&#65;  
6642B&#66;  
6743C&#67;  
6844D&#68;  
6945E&#69;  
7046F&#70;  
7147G&#71;  
7248H&#72;  
7349I&#73;  
744AJ&#74;  
754BK&#75;  
764CL&#76;  
774DM&#77;  
784EN&#78;  
794FO&#79;  
8050P&#80;  
8151Q&#81;  
8252R&#82;  
8353S&#83;  
8454T&#84;  
8555U&#85;  
8656V&#86;  
8757W&#87;  
8858X&#88;  
8959Y&#89;  
905AZ&#90;  
915B[&#91; opening bracket
925C\&#92; backslash
935D]&#93; closing bracket
945E^&#94; caret - circumflex
955F_&#95; underscore
9660`&#96; grave accent
9761a&#97;  
9862b&#98;  
9963c&#99;  
10064d&#100;  
10165e&#101;  
10266f&#102;  
10367g&#103;  
10468h&#104;  
10569i&#105;  
1066Aj&#106;  
1076Bk&#107;  
1086Cl&#108;  
1096Dm&#109;  
1106En&#110;  
1116Fo&#111;  
11270p&#112;  
11371q&#113;  
11472r&#114;  
11573s&#115;  
11674t&#116;  
11775u&#117;  
11876v&#118;  
11977w&#119;  
12078x&#120;  
12179y&#121;  
1227Az&#122;  
1237B{&#123; opening brace
1247C|&#124; vertical bar
1257D}&#125; closing brace
1267E~&#126; equivalency sign - tilde
1277F   (not defined in HTML 4 standard)
12880   (not defined in HTML 4 standard)
12981   (not defined in HTML 4 standard)
13082   (not defined in HTML 4 standard)
13183   (not defined in HTML 4 standard)
13284   (not defined in HTML 4 standard)
13385   (not defined in HTML 4 standard)
13486   (not defined in HTML 4 standard)
13587   (not defined in HTML 4 standard)
13688   (not defined in HTML 4 standard)
13789   (not defined in HTML 4 standard)
1388A   (not defined in HTML 4 standard)
1398B   (not defined in HTML 4 standard)
1408C   (not defined in HTML 4 standard)
1418D   (not defined in HTML 4 standard)
1428E   (not defined in HTML 4 standard)
1438F   (not defined in HTML 4 standard)
14490   (not defined in HTML 4 standard)
14591   (not defined in HTML 4 standard)
14692   (not defined in HTML 4 standard)
14793   (not defined in HTML 4 standard)
14894   (not defined in HTML 4 standard)
14995   (not defined in HTML 4 standard)
15096   (not defined in HTML 4 standard)
15197   (not defined in HTML 4 standard)
15298   (not defined in HTML 4 standard)
15399   (not defined in HTML 4 standard)
1549A   (not defined in HTML 4 standard)
1559B   (not defined in HTML 4 standard)
1569C   (not defined in HTML 4 standard)
1579D   (not defined in HTML 4 standard)
1589E   (not defined in HTML 4 standard)
1599F   (not defined in HTML 4 standard)
160A0 &#160;&nbsp;non-breaking space
161A1¡&#161;¡inverted exclamation mark
162A2¢&#162;&cent;cent sign
163A3£&#163;&pound;pound sign
164A4¤&#164;&curren;currency sign
165A5¥&#165;&yen;yen sign
166A6¦&#166;&brvbar;broken vertical bar
167A7§&#167;&sect;section sign
168A8¨&#168;&uml;spacing diaeresis - umlaut
169A9©&#169;&copy;copyright sign
170AAª&#170;&ordf;feminine ordinal indicator
171AB«&#171;&laquo;left double angle quotes
172AC¬&#172;&not;not sign
173AD­&#173;&shy;soft hyphen
174AE®&#174;&reg;registered trade mark sign
175AF¯&#175;&macr;spacing macron - overline
176B0°&#176;&deg;degree sign
177B1±&#177;&plusmn;plus-or-minus sign
178B2²&#178;&sup2;superscript two - squared
179B3³&#179;&sup3;superscript three - cubed
180B4´&#180;&acute;acute accent - spacing acute
181B5µ&#181;&micro;micro sign
182B6&#182;&para;pilcrow sign - paragraph sign
183B7·&#183;&middot;middle dot - Georgian comma
184B8¸&#184;&cedil;spacing cedilla
185B9¹&#185;&sup1;superscript one
186BAº&#186;&ordm;masculine ordinal indicator
187BB»&#187;&raquo;right double angle quotes
188BC¼&#188;&frac14;fraction one quarter
189BD½&#189;&frac12;fraction one half
190BE¾&#190;&frac34;fraction three quarters
191BF¿&#191;&iquest;inverted question mark
192C0À&#192;&Agrave;latin capital letter A with grave
193C1Á&#193;&Aacute;latin capital letter A with acute
194C2Â&#194;&Acirc;latin capital letter A with circumflex
195C3Ã&#195;&Atilde;latin capital letter A with tilde
196C4Ä&#196;&Auml;latin capital letter A with diaeresis
197C5Å&#197;&Aring;latin capital letter A with ring above
198C6Æ&#198;&AElig;latin capital letter AE
199C7Ç&#199;&Ccedil;latin capital letter C with cedilla
200C8È&#200;&Egrave;latin capital letter E with grave
201C9É&#201;&Eacute;latin capital letter E with acute
202CAÊ&#202;&Ecirc;latin capital letter E with circumflex
203CBË&#203;&Euml;latin capital letter E with diaeresis
204CCÌ&#204;&Igrave;latin capital letter I with grave
205CDÍ&#205;&Iacute;latin capital letter I with acute
206CEÎ&#206;&Icirc;latin capital letter I with circumflex
207CFÏ&#207;&Iuml;latin capital letter I with diaeresis
208D0Ð&#208;&ETH;latin capital letter ETH
209D1Ñ&#209;&Ntilde;latin capital letter N with tilde
210D2Ò&#210;&Ograve;latin capital letter O with grave
211D3Ó&#211;&Oacute;latin capital letter O with acute
212D4Ô&#212;&Ocirc;latin capital letter O with circumflex
213D5Õ&#213;&Otilde;latin capital letter O with tilde
214D6Ö&#214;&Ouml;latin capital letter O with diaeresis
215D7×&#215;&times;multiplication sign
216D8Ø&#216;&Oslash;latin capital letter O with slash
217D9Ù&#217;&Ugrave;latin capital letter U with grave
218DAÚ&#218;&Uacute;latin capital letter U with acute
219DBÛ&#219;&Ucirc;latin capital letter U with circumflex
220DCÜ&#220;&Uuml;latin capital letter U with diaeresis
221DDÝ&#221;&Yacute;latin capital letter Y with acute
222DEÞ&#222;&THORN;latin capital letter THORN
223DFß&#223;&szlig;latin small letter sharp s - ess-zed
224E0à&#224;&agrave;latin small letter a with grave
225E1á&#225;&aacute;latin small letter a with acute
226E2â&#226;&acirc;latin small letter a with circumflex
227E3ã&#227;&atilde;latin small letter a with tilde
228E4ä&#228;&auml;latin small letter a with diaeresis
229E5å&#229;&aring;latin small letter a with ring above
230E6æ&#230;&aelig;latin small letter ae
231E7ç&#231;&ccedil;latin small letter c with cedilla
232E8è&#232;&egrave;latin small letter e with grave
233E9é&#233;&eacute;latin small letter e with acute
234EAê&#234;&ecirc;latin small letter e with circumflex
235EBë&#235;&euml;latin small letter e with diaeresis
236ECì&#236;&igrave;latin small letter i with grave
237EDí&#237;&iacute;latin small letter i with acute
238EEî&#238;&icirc;latin small letter i with circumflex
239EFï&#239;&iuml;latin small letter i with diaeresis
240F0ð&#240;&eth;latin small letter eth
241F1ñ&#241;&ntilde;latin small letter n with tilde
242F2ò&#242;&ograve;latin small letter o with grave
243F3ó&#243;&oacute;latin small letter o with acute
244F4ô&#244;&ocirc;latin small letter o with circumflex
245F5õ&#245;&otilde;latin small letter o with tilde
246F6ö&#246;&ouml;latin small letter o with diaeresis
247F7÷&#247;&divide;division sign
248F8ø&#248;&oslash;latin small letter o with slash
249F9ù&#249;&ugrave;latin small letter u with grave
250FAú&#250;&uacute;latin small letter u with acute
251FBû&#251;&ucirc;latin small letter u with circumflex
252FCü&#252;&uuml;latin small letter u with diaeresis
253FDý&#253;&yacute;latin small letter y with acute
254FEþ&#254;&thorn;latin small letter thorn
255FFÿ&#255;&yuml;latin small letter y with diaeresis

Thursday, April 2, 2009

Section 508 Web Standards


  1. A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content). [See Note 1]

  2. Equivalent alternatives for any multimedia presentation shall be synchronized with the presentation.

  3. Web pages shall be designed so that all information conveyed with color is also available without color, for example from context or markup.

  4. Documents shall be organized so they are readable without requiring an associated style sheet.

  5. Redundant text links shall be provided for each active region of a server-side image map.

  6. Client-side image maps shall be provided instead of server-side image maps except where the regions cannot be defined with an available geometric shape.

  7. Row and column headers shall be identified for data tables.

  8. Markup shall be used to associate data cells and header cells for data tables that have two or more logical levels of row or column headers.

  9. Frames shall be titled with text that facilitates frame identification and navigation.

  10. Pages shall be designed to avoid causing the screen to flicker with a frequency greater than 2 Hz and lower than 55 Hz.

  11. A text-only page, with equivalent information or functionality, shall be provided to make a web site comply with the provisions of this part, when compliance cannot be accomplished in any other way. The content of the text-only page shall be updated whenever the primary page changes. [See Note 2]

  12. When pages utilize scripting languages to display content, or to create interface elements, the information provided by the script shall be identified with functional text that can be read by assistive technology.

  13. When a web page requires that an applet, plug-in or other application be present on the client system to interpret page content, the page must provide a link to a plug-in or applet [See Note 3, Note 4, Note 5]

  14. When electronic forms are designed to be completed on-line, the form shall allow people using assistive technology to access the information, field elements, and functionality required for completion and submission of the form, including all directions and cues.

  15. A method shall be provided that permits users to skip repetitive navigation links.

  16. When a timed response is required, the user shall be alerted and given sufficient time to indicate more time is required.

Note 1: Until the longdesc tag is better supported, it is best to use it in conjunction with a standard link to a longer description.

Note 2: "Text-only" and "accessible" are NOT synonymous. Text-only sites typically only help people with certain types of visual or cognitive disabilities. They are usually not helpful to users with disabilities.

Note 3: Standalone media players are usually more accessible than embedded media players.

Note 4: A PDF file can be made accessible to screen reader users, but it may be best to include an accessible HTML version of a document instead of or in addition to PDF.

Note 5: PowerPoint files are currently not directly accessible unless the user has a full version of the PowerPoint program on the client computer. It is recommended that an accessible HTML version be provided instead of or in addition to the PowerPoint version.

Monday, January 5, 2009

DIV Based Layout with CSS

We see it every day. As we surf the huge network of the Web, we are able to appreciate several page layouts through different websites. They run the gamut from classical but highly effective two and three-column designs, to those exotic and certainly uncommon designs which seem not to fall into a specific category.

For many years, Web designers have been sticking firmly to table-based layouts, achieving coherent and consistent looks by the use of complex table nesting techniques, gif spacers and other well-known design processes. Currently, table layout still continues to have a strong presence on the Web, since it provides wide cross-browser compatibility. Tables are pretty well supported elements for browsers, and that’s an extremely powerful reason to use them for Web page layouts. But this strong compatibility comes with an extra cost. Most of the time, nested tables introduce lots of additional markup, and increase file size, download times and server requests when using graphics as spacers, even if they are cached later.

Extra HTML pushes the important content farther down in the source code, making it less likely that a search spider will give Web pages a high relevance score for the keywords. With the use of CSS and DIV tags, we can achieve the same table-based layout effects, reduce our markup code noticeably, get faster page downloads, and separate content from its visual presentation. We are getting closer to standards-compliant code, and our Web pages are more appealing to search engine spiders.

Now, is everything good about CSS? No, unfortunately. The major drawback with CSS is that browsers don’t display reliably some CSS rules because most of them are not completely compliant with Web standards. Still, the advantages of using CSS and DIV tags for page layout are numerous, and certainly are appealing to many Web designers, as modern browsers add more reliable support.

With the pros and cons in our hands, let’s see the basics of how table design works.

The table-based approach

One of the most common page layouts using tables is easy to do with the ALIGN attribute. This is a left-hand navigation bar with a larger content section, directly to the right of it, building only two tables.

Here is the code:

<table align=”left” width=”20%” height=”100%”>
<tr>
<td valign=”top”>Navigation links are placed here</td>
</tr>
</table>
<table align=”right” width=”80%” height=”100%”>
<tr>
<td valign=”top”>Main content is placed here</td>
</tr>
</table>

We build this simple two-column layout, placing the tables as mentioned above: one is located to the left and the other is located to the right. The ALIGN attribute helps us to turn complex tables into simpler ones.

We can use this technique with nested tables too, to keep our layout easier to maintain and display, while it’s still quite appealing to search engines spiders.

A note about this: the attributes ALIGN, WIDTH and HEIGHT are deprecated elements in HTML 4.01 (they are marked for deletion in future versions), but they aren’t likely to disappear any time soon. Currently, all browsers recognize these attributes.

From this point on, we could attach an external style sheet that contains all the proper style declarations for each table, continuing to improve the code like this:

<table id=”content” width=”80%” align=”right” height=”100%”>
<tr>
<td valign=”top”>Main content is placed here</td>
</tr>
</table>
<table id=”leftnavigation” width=”20%” height=”100%”>
<tr>
<td valign=”top”>Navigation Links are placed here</td>
</tr>
</table>

The layout is the same as before, but note the ID attribute for each table. Assigning ID contextual selectors from an external style sheet allow us to build the visual appearance for data contained into each table.

So far, this is a simple sample for table-based layout. It can be easily expanded to more complex layouts, adding nested tables techniques and so. However, I would strongly recommend using DIV tags and CSS for page layout, as we shall see in a moment. Trust me.

The mighty DIV tag

According to the O’Reilly HTML Reference, “the DIV element gives structure and context to any block-level content in the document. Each DIV element becomes a generic block-level container for all content within the required start and end tags.” As we can see, the DIV tag is a powerful generic element well suited for being used as a container within our Web page. This turns it into a good candidate for creating sections or divisions (hence "DIV") of Web documents.

The concept is very intuitive. Instead of using tables as layout elements, we are going to take advantage of DIVS as excellent content containers to build our page layout. In conjunction with several CSS declarations, DIVS based layout are pretty easy to get.

Before we explain any further, two general categories used for Web page design must be clearly differentiated: “fixed” and “liquid" design. When referring to “fixed” design, we are talking about a Web page that has “fixed” dimensions. Widths (and optionally, heights) for each container element are assigned normally in pixels.

The final result of this approach is that Web pages are displayed with a determined “fixed” size, and they don’t “expand” to cover all the space in the computer monitor. Many “big” websites currently use this technique for achieving a consistent look and size across several user screen resolutions.

On the other hand, Web pages built over a “liquid” design principle will display as “elastic” documents, expanding as needed according to different monitor resolutions. Normally, dimensions for any container element are expressed in a percentage. “Liquid design,” when used properly, looks much more professional and takes one step further the definition that conceives a Web page as an “elastic” element, not a desktop document.

With all of these basic concepts out of the way, we will see different approaches for page layouts, depending on whether we follow a “fixed” design or a “liquid” design pattern.

Fixed layout design with fixed boxes

Now, it’s time to build a basic two-column layout with fixed sizes.

Here is the code for styling our DIVS:

<style type="text/css">
<!--
#header {
background: #0f0;
position: absolute;
top: 0px;
left: 0px;
width: 800px;
height: 100px;
}
#leftcol {
background: #f00;
position: absolute;
top: 100px;
left: 0px;
width: 150px;
height: 500px;
}
#content {
background: #fff;
position: absolute;
top: 100px;
left: 150px;
width: 700px;
height: 500px;
}
#footer {
background: #0f0;
position: absolute;
top: 500px;
left: 0px;
width: 800px;
height: 100px;
}
-->
</style>

And here’s the HTML code:

<div id="header">Header Section</div>
<div id="leftcol">Left Section</div>
<div id="content">Content Section</div>
<div id="footer">Footer Section</div>

The complete code is as follows:

<html>
<head>
<title>TWO-COLUM FIXED LAYOUT WITH FIXED BOXES</title>
<style type="text/css">
<!--
#header {
background: #0f0;
position: absolute;
top: 0px;
left: 0px;
width: 800px;
height: 100px;
}
#leftcol {
background: #f00;
position: absolute;
top: 100px;
left: 0px;
width: 150px;
height: 500px;
}
#content {
background: #fff;
position: absolute;
top: 100px;
left: 150px;
width: 650px;
height: 500px;
}
#footer {
background: #0f0;
position: absolute;
top: 500px;
left: 0px;
width: 800px;
height: 100px;
}
-->
</style>
</head>
<body>
<div id="header">Header Section</div>
<div id="leftcol">Left Section</div>
<div id="content">Content Section</div>
<div id="footer">Footer Section</div>
</body>
</html>

Let’s see what’s happening here. We have given fixed dimensions and absolute positions to all our DIVS. Widths and heights are expressed in pixels, as well as top and left coordinates.

For the sake of this article, CSS code is within the same Web page, but it should always be attached as an external file. Please remember, separating content from visual presentation is a key concept that makes websites easily maintainable and accessible. The visual output for the code is the following:

Three-column fixed layout

With little additions to the code, we can easily build a three-column fixed layout. Let’s see how it works:

<style type="text/css">
<!--
#header {
background: #0f0;
position: absolute;
top: 0px;
left: 0px;
width: 800px;
height: 100px;
}
#leftcol {
background: #f00;
position: absolute;
top: 100px;
left: 0px;
width: 150px;
height: 500px;
}
#rightcol {
background: #f00;
position: absolute;
top: 100px;
left: 650px;
width: 150px;
height: 500px;
}
#content {
background: #fff;
position: absolute;
top: 100px;
left: 150px;
width: 500px;
height: 500px;
}
#footer {
background: #0f0;
position: absolute;
top: 500px;
left: 0px;
width: 800px;
height: 100px;
}
-->
</style>

The HTML code is the following:

<div id="header">Header Section</div>
<div id="leftcol">Left Section</div>
<div id="content">Content Section</div>
<div id="rightcol">Right Section</div>
<div id="footer">Footer Section</div>

Here is the complete code:

<html>
<head>
<title>THREE-COLUMN FIXED LAYOUT WITH FIXED BOXES</title>
<style type="text/css">
<!--
#header {
background: #0f0;
position: absolute;
top: 0px;
left: 0px;
width: 800px;
height: 100px;
}
#leftcol {
background: #f00;
position: absolute;
top: 100px;
left: 0px;
width: 150px;
height: 500px;
}
#rightcol {
background: #f00;
position: absolute;
left: 650px;
top: 100px;
width: 150px;
height: 500px;
}
#content {
background: #fff;
position: absolute;
top: 100px;
left: 150px;
width: 500px;
height: 500px;
}
#footer {
background: #0f0;
position: absolute;
top: 500px;
left: 0px;
width: 800px;
height: 100px;
}
-->
</style>
</head>
<body>
<div id="header">Header Section</div>
<div id="leftcol">Left Section</div>
<div id="content">Content Section</div>
<div id="rightcol">Right Section</div>
<div id="footer">Footer Section</div>
</body>
</html>

Here is the visual output:

As stated above, with minor modifications to the code, we can easily add another column to our existing layout, keeping widths and heights expressed in pixels. These simple examples show clearly that once we have defined our general layout, we are able to add more DIVS into the main containers or other elements, building more complex layouts with little or no effort. In a moment, we’ll see another interesting approach for styling DIVS: floating boxes.

Web 2.0 how-to design guide

The list below is a summary of many of the common features of typical "Web 2.0" sites.

Clearly, a site doesn't need to exhibit all these features to work well, and displaying these features doesn't make a design "2.0" - or good!
  1. Simplicity
  2. Central layout
  3. Fewer columns
  4. Separate top section
  5. Solid areas of screen real-estate
  6. Simple navigation
  7. Bold logos
  8. Bigger text
  9. Bold text introductions
  10. Strong colours
  11. Rich surfaces
  12. Gradients
  13. Reflections
  14. Cute icons
  15. Star flashes

Web 2.0 ?
I'm using the term "Web 2.0 design" to describe the prevailing style of web design I introduce in my current style article.

Many people use the term "Web 2.0" to describe:
  • a resurgence in the web economy
  • a new level of technological interactivity between web sites and services
  • or social phenomena deriving from new types of online communities and social networks

Many others also use the term in reference to a recent school of web design. I'm comfortable with using it in that context here.

In sociological terms, movements impact people on many levels: economic, cultural, political, etc. Is skate-punk about entertainment and sport, music and the music industry, fashion, or the breakdown of society?


Introduction
I'm going to take you through the features of the current wave of excellent web site designs, dissect the most significant features, explain why each one can be good, and show you how to use them in your own sites.

If I had to sum up "Web 2.0" design in one word, it would have to be "simplicity", so that's where we'll start.

I'm a great believer in simplicity. I think it's the way forward for web design.

Today's simple, bold, elegant page designs deliver more with less:

  • They enable designers to shoot straight for the site's goals, by guiding the site visitor's eye through the use of fewer, well-chosen visual elements.
  • They use fewer words but say more, and carefully selected imagery to create the desired feel.
  • They reject the idea that we can't guess what people want from our sites