Tag Archive | "HTML"

Less Than and Greater Than Signs in HTML

Monday, July 6, 2009

Comments Off on Less Than and Greater Than Signs in HTML

In HTML, you can not use the less than or greater than signs. You must use a special syntax to represent these reserved characters in HTML. These symbols are written as Character Entities: The less than sign(<):   &lt; The greater than sign(>):   &gt; Other Common Reserved Characters and their Character Entities: The non breaking space( ):   […]

Continue reading...

Using Tabs in a WordPress Post

Thursday, July 2, 2009

2 Comments

Here is an example of using tab characters in a blog post. To get this: Column1 Column2 A Apple B Banana C Coconut You can copy and paste this: <pre> Column1 &#09; Column2 A &#09; Apple B &#09; Banana C &#09; Coconut </pre> The trick to this is using the ‘<pre>’ tag and the html entity code for tab: […]

Continue reading...

NoWrap in ASP.Net

Thursday, June 25, 2009

Comments Off on NoWrap in ASP.Net

If you want your table column to not wrap in ASP.Net, you can use the NoWrap property in the tag like so: <td nowrap="nowrap"> content </td> This makes the code xhtml compliant and prevents warnings in the source view of designer in Visual Studio. Normally you could just specify a nowrap attribute by itself in […]

Continue reading...

Taking Shortcuts with Internal Style Sheets

Sunday, March 22, 2009

Comments Off on Taking Shortcuts with Internal Style Sheets

As simple as it is, I can never remember the syntax for defining a block of css within html. It is of course better practice to put your css in a seperate file and reference it. However, here is sample snippet to define internal style(s): PLAIN TEXT HTML: <style type="text/css"> body {color: blue} a {color: […]

Continue reading...