Hyper Text Markup Language Programming
Hyper Text Markup Language Programming
This will be the introduction to HTML Programming. HTLM is an acronym for Hyper Text Markup Language. HTML files are text files with instructions and data that is used to instruct a browser to present a display to the monitor. When using the web, the browser opens an HTML file that is stored on the web and may be downloaded by anyone that types it's URL (Universal Resource Link) into the browser. HTML files may also be stored on our own DISK and called from the browser. For example, this display that you are reading is a file on your DISK named "project/html.htm". We got here by clinking on alink from another file named "project/home.htm". We could have displayed this file by double clicking on the "HTML.htm" file locateded in the "HTM" folder located in the "project" folder along with the "Home.htm" file. Regardless of the file's location, it is displayed as a reslut of being opened with a browser that recognizes HTML code.
About Windows and the Browsers
Usually an HTML file can be recognized by its extension of dot HTML or dot HTM. This is true, but a browser is also able to open other files as well. Drag and drop an image file such as a jpg file into the browser icon and the picture will be displayed. Music files and movie files can also be opened with a browser. These examples; however, are intended to deal with the Hyper Text Markup Language files.
All the browsers are developed to keep up with the new inovations that are constantly being developed. Different browsers do ;however, handle the HTML code a little differently in some cases. The same HTML file may appear a little different in different browsers. Some web pages will mention that the browser display may appear better in some particular browser. Some HTML code may not even work using older outdated browsers, so kkeeping up with browser updates might be a reasonable consideration.
I should be mentioned that an HTML file that is opened with the browser does not necessarily need the HTM or HTML extension. If a text file contains tags, or text, then it will be displayed as a web page. It is a good idea to use the HTML or HTM extensions; though, because Windows will recognize it as an HTML file and automatically open it with the default browser if it's icon is clicked on with the mouse. It should be noted that current files use the HTML extension, but Windows still recognizes the three character extension of HTM that was used when only three characters were permitted in a file extension.
Our Examples and How to use them
This primer will consist of a number of HTML files. They can be opened by clicking on their links below. They will be progressively more informative and not necessarily contain a link back to this page, so it is recommended that they either be opened in another window that can be closed to return here, or return here using the "BACK" button on the browser. Otherwise it will be necessary to return to this page the same way you got here to begin with.
Some examples
Simple text.txt
This is a simple text file. It requires no HTML code.
PreText.html
This is our first html example using some basic HTML code. The br and html tags are demonstrated along with some text.
presenting text.html
Some basic tags used to control and manipulate html text.
My Page.html
Some basic tags used to control and manipulate html text.
Links.html
Creating links to URL's and Disk Locations.
Images.html
Displaying images on your web page.