HTML (Hypertext Markup Language) is the predominant markup language for web pages. It provides a means to describe the structure of text-based information in a document (denoting certain text as headings, paragraphs, lists, and so on) and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of labels (known as tags), surrounded by angle brackets.
HTML is an application of SGML according to the international standard ISO 8879. XHTML is a reformulation of HTML 4 as an XML application 1.0, and allows compatibility with user agents already admitted HTML 4 following a set of rules.
The basic HTML tags are:
<HTML>: is the label that defines the beginning of the document.
<HEAD>: defines the header of the document, this header normally contains information about the page such as the TITLE, META tags for proper Search Engine indexing, STYLE tags, which determine the page layout, and JavaScript coding for special effects. Within the header <HEAD> we find:
<TITLE>: defines the title of the page. This will be visible in the title bar of the viewers’ browser.
<LINK>: defines some advanced features, for example style sheets used for the design of the page.
<BODY>: contains the main content or body of the paper, this is where you will begin writing your document and placing your HTML codes. It defines common properties to the entire page, such as background colour and margins. Within the body can <BODY> you can use a great variety labels. The label which we use on our tool is <TABLE>: This label defines the beginning of a table (the <TR> represents rows and <TD> represents cells).
The format explained above corresponds to an HTML page is :
<HTML> <HEAD> ... </HEAD> <BODY> .... <TABLE> ... </TABLE> ... </BODY> </HTML> |
Tag <TABLE>
The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.
Tables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). The letters td stands for "table data," which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.
Different Tags which will define the structure of the table for obtaining a valid data file are:
TR: The label <TR> will allow us to insert rows in the table.
TH: The label <TH> will allow us to define the table head table.
TD: The label <TD> will allow us to insert cells in each row. We can insert any element: pictures, lists, formatted text and even other tables.
The HTML format valid to Keel is the following:
<table>
</table> |
One example of a valid HTML file is the following:
<html>
</html>
|