Saturday, November 15, 2008

HOW TO MAKE WEB PAGE DISPLAY HTML CODE

sHTMLc (show HTML code) is meant for those who write HTML tutorials published on the Internet and therefore have to present HTML code to the reader. This means that some code must be changed in order to show correctly. sHTMLc converts the code you copy to the clipboard.

Example:

If you want to show this HTML code:

<img src="graphics/with_cat.gif" width=75 height=75 alt="Me & my cat">

you can't just use that code (that would put a picture on the page), you have to change some characters (code pieces), making it look like this:

<img src="graphics/with_cat.gif" width=75 height=75 alt="Me & my cat">

Now it will show up correctly on the page.


What does it do?

sHTMLc converts certain HTML code pieces to special characters:


HTML code = Special characters

< = & lt;
> = & gt;
" = & quot;
& = & amp;



It also converts carriage returns to <br> or <br />.


How do I use it?
First write the HTML-code in the normal way.
Select the code (1 or more lines) and copy it to the clipboard.
Select XHMTL to make get <br />; instead of <br>.
Select Add <html> and <body> to make the code into a complete web page.
Start up sHTMLc and pick a font color and/or enter a font size if needed. Then click the Convert code button.
Paste the converted code back into your document.

How to install

Just unzip the zip-file in an empty folder.


How to uninstall

Delete shtmlc.exe, shtmlc.hlp, shtmlc.cnt, shtmlc.ini and the folder. sHTMLc doesn't use the registry at all.

No comments:

Post a Comment