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(<): < The greater than sign(>): > Other Common Reserved Characters and their Character Entities: The non breaking space( ): […]
Continue reading...Thursday, July 2, 2009
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 	 Column2 A 	 Apple B 	 Banana C 	 Coconut </pre> The trick to this is using the ‘<pre>’ tag and the html entity code for tab: […]
Continue reading...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...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: "text/css" body {color: blue} a {color: blue; […]
Continue reading...
Monday, July 6, 2009
Comments Off on Less Than and Greater Than Signs in HTML