Output will be:
The paragraph text to be indented goes here. Such a paragraph is sometimes called a `long quote`. This is one of the best ways to indent a long text block. Non-indented text permits the insertion of text into what appears as the left margin. This might be called `exdenting`. The less efficient `pre` tag could also be used to achieve similar results.This text (without blockquote tags) will only be indented the width of 2 spaces.
End of Tip 1 (Go back to TOP)
A full list of the HTML tags (with explanations and examples) can be found at
w3schools.com
End of Tip 2 (Go back to TOP)
Two Screen HTML Development
A very good HTML development environment makes use of the following items. The software is all free.
- The Ubuntu operating system.
- The Geany text editor
- Filezilla FTP uploader
- Chromium web browser
- w3schools.com
- Globat.com
- a second video monitor
- an external hard drive or a big flash drive: for regular backups
The Ubuntu operating system is relatively virus-free, operates faster than Windoze and supports the use of the Geany text editor. This text editor is designed for programmers and in most cases will automatically insert the trailing tags. Filezilla is used to upload the html files to the server. The Chromium browser (by Google) with Gmail now permits a very useful list of bookmarks. The w3schools.com webpage is one of the most useful support sites for html code. It lists all the html tags and provides explanations and working examples. w3schools also shows which browsers support each tag. It is not recommended to use tags that are not widely supported. Support by each of the following 5 browsers is shown: Chrome (Chromium), IE, Firefox, Safari and Opera. The Globat web site hosting server is one of the least costly. It permits hosting of more than one web page at no additional cost. The Globat Technical Support help desk is immediate and excellent.
A second video monitor definitely saves programming time. A small directory list of the file being editted should be displayed on one monitor. Web page browsing (ie testing of the html routines) and access to w3schools technical information is done on the 2nd monitor.
It should not be necessary to emphasize the importance of regular backups to programmers. Fortunately, the nature of html programming causes copies of the html code to be uploaded to a server, which provides an on-going backup. The code being developed should be coded on the Flash Drive, not on the hard drive. This ensures portability and is operating system independant. Regular backups to a hard drive (and less frequently to an external hard drive) are good practise.
This environment facilitates the testing of html. A series of changes can be tested with 2 operations:The image of the 2 monitors above shows how all the necessary information is available to the programmer.
- ctrl-S to save the changes.
- Double Click on the file to be tested (in the Files directory) to show it in the browser.
Testing only needs FileZilla if php routines are used. In fact, repeated testing using a server is not recommended because of web-caching problems. Many people find that coding changes are not visible due to the latency of the web cache, which is only rectified by time. So the best way to test HTML code is to click on the html code file in a local drive directory. This ensures that the most recent version of the html code is sent to the browser. To test a new version of html code on the server, the best way to ensure that the modified code is tested is to rename it (even adding a suffix). Then the browser cache doesn't use an old version (which has the same name). Simply reloading the web page is NOT sufficient. Another way to clear the browser's cache is to close and reopen the browser, use a different browser, or to restart the computer. This works because the web browser cache is live data within the browser.
End of Tip 3 (Go back to TOP)
It is a courtesy to the users of your web pages to allow them to click on an image to view it in full screen mode. It is very simple to do so. The following code shows how:Code to NOT permit full screen (really full window) viewing:
<img src="Screen2a.jpg" alt="thumb Two Screen HTML Development" height="200" border=0>Which Produces:
<br>Two Screen HTML Development
Preferred code: to permit full screen (really full window) viewing:
Two Screen HTML Development
<table><tr><td>Which Produces:
<center>(To enlarge .....Click it)</center>
<a href="Screen2a.jpg"
rel="alternate" title="Two Screen HTML Development">
<img src="Screen2a.jpg"
alt="thumb Two Screen HTML Development" height="200" border=0> <br>
<center>Two Screen HTML Development</center> </a>
</td></tr></table>
Note that some users will need to be told to hit the back button (the < in the top left hand corner) to return to the previous page after viewing the full screen image.
(To enlarge .....Click it)
Two Screen HTML Development
End of Tip 4 (Go back to TOP)
MySQL wildcard syntax
SELECT `object` FROM `userData` WHERE `object` LIKE ``Ubuntu%.jpg``
or
SELECT `id`,`object` FROM `userData` WHERE `id` BETWEEN "1" AND "100"
Source:StackOverflow Article
End of Tip 5 (Go back to TOP)
<address>
Written by <a href="mailto:webmaster@example.com">Jon Doe</a>.<br>
Visit us at: <br>
Example.com <br>
Box 564, Disneyland <br>
USA <br>
</address>
End of Tip 6 (Go back to TOP)
To display red text, enclose the text in the following tags:
<font color="red">
search phrases - list of SUGGESTED SEARCH PHRASES
</font>
will be displayed as:
search phrases - list of SUGGESTED SEARCH PHRASES
End of Tip 7 (Go back to TOP)
To display a left arrow, use "← " :
"← " (Go back to TOP.)
will be displayed as:
← (Go back to TOP.)
End of Tip 8 (Go back to TOP)
To display a list of text, each with a bullet, use "<ul>..<li></li></ul>" :
<ul>
<li>bullet line 1</li>
<li>bullet line 2</li>
</ul>
will be displayed as:
A numbered list will be created if the "ul" tag pair is replaced by "ol".
- bullet line 1
- bullet line 2
End of Tip 9 (Go back to TOP)
This will display text "as is" (retaining all the spaces and "returns").
When you "cut & paste" columns of data, "returns" and multiple spaces are removed. To retain the text "as is", enclose it in <pre> and </pre> tags.
The following table is a good example
Number Spelled 1 one 2 two 3 threeIf "cut " from a normal text document (or web page) and "pasted" into an html source document (without using the <pre> and </pre> tags), it will be displayed on the web as shown below:
Number Spelled 1 one 2 two 3 three
The same table (as it will appear in the html source page, using the <pre> and </pre> tags) is:
<pre>Number Spelled 1 one 2 two 3 three</pre>
On the final web page, it will appear unchanged as shown below
Number Spelled 1 one 2 two 3 threeIt should be noted that, anywhere in the text within the <pre> and </pre> tags:
-any html tags (text enclosed within " < " and " > ") will still function as html tags
-any html entities (text enclosed within " & " and " ; ") will still function as html entities
-any single " < " in the text will cause no further text to be displayed on the web page
The solution is to replace each " < " by "<" between the <pre> tags in the html source
End of Tip 10 (Go back to TOP)
Any number of spaces can be inserted in an HTML source file using the entities: and   .
End of Tip 11 (Go back to TOP)
There are many times when a block of text should keep its Line Feeds. An example is this group of text that you are reading. It might be a selected block of text, such as a quote, Or even a snippet of programming code such as if (isExample) : print("Hello World") #if end These lines of text can include some other tags (All of the above were copied and pasted including CR, LFs.)
The above appeared in html code as follows:
< pre >
There are many times when a block of text should keep its Line Feeds.
An example is this group of text that you are reading.
It might be a selected block of text, such as a quote,
Or even a snippet of programming code such as
if (isExample) :
print("Hello World")
#if end
These lines of text can include <b>some</b> other tags
(All of the above were copied and pasted including CR, LFs.)
< /pre >
End of Tip 12 (Go back to TOP)
— —
• •
· ·
Œ Œ
œ œ
° °
£ £
€ €
© ©
¦ ¦
² ²
µ µ
é é
÷ ÷
π π
∞ ∞
◊ ◊
| |  
| |  
| |  
|±| ±
|¶| ¶
|Æ| Æ
|æ| æ
|×| ×
|™| ™
|ſ| ſ "long s without any -"
|ẜ| ẜ "long s but with diag-"
There is no known html entity for the true "long s" (search iGalri.com for "long s"
End of Tip 13 (Go back to TOP)
1. Create col2.html containing the 2 columns of data. 2. Optionally insert a single header over the 2 columns of data. 3. Embed the col2.html as shown below. Before<embed type="text/html" src="col2.html" width="500" height="200">After<br>Before