, and within every , there can be n numbers of . Then you can have nested tables. For instance, within a single cell of nth row and mth column, you can have more tables. Note: If upper row has a single column, and preceding one has multiple columns, its better to define single-columned row in a separate table Let's promenade through a day-to-day example. Let us create a tiny table displaying your marks in English, Mathematics and Philosophy, in two semesters and see how it fairs on your upcoming web page. Don't get intimidated by so many tags and their attributes - once you are able to create and apprehend architecture of one table, you'll be able to create any kind of table. Note: Within we can insert comments so that we can keep account of complex HTML coding. Literally, you insert comments like this - Less-than sign, exclamation mark, dash dash, space, you comment, space, dash dash, greater-than sign.
|
|
which brings on row, and last, but not least, we have a grandchild tag here, which originates a column.The legal sequence of these three tags goes like this: Beginning XML - Part III (Building Blocks)Written by Amrit Hallan
XML documents (and HTML documents) are made up by following building blocks:· Elements · Tags · Attributes · Entities · PCDATA · CDATA This is a brief explanation of each of building blocks: Elements Elements are main building blocks of both XML and HTML documents. Examples of HTML elements are "body" and "table". Examples of XML elements could be "my-schedule" and "date". Elements can contain text, other elements, or be empty. Examples of empty HTML elements are "hr", "br" and "img". Tags Tags are used to markup elements. A starting tag like mark up beginning of an element, and an ending tag like mark up end of an element. Examples: A body element: body text in between. A message element: some message in between Attributes Attributes provide extra information about elements. Attributes are placed inside start tag of an element. Attributes come in name/value pairs. The following "img" element has an additional information about a source file: 
The name of element is "img". The name of attribute is "src". The value of attribute is "computer.gif". Since element itself is empty it is closed by a " /". PCDATA PCDATA means parsed character data. Think of character data as text found between start tag and end tag of an XML element. PCDATA is text that will be parsed by a parser. Tags inside text will be treated as markup and entities will be expanded. CDATA CDATA also means character data. CDATA is text that will NOT be parsed by a parser. Tags inside text will NOT be treated as markup and entities will not be expanded. Entities Entities as variables used to define common text. Entity references are references to entities. Most of you will known HTML entity reference: " " that is used to insert an extra space in an HTML document. Entities are expanded when a document is parsed by an XML parser.
| | YOUR FIRST HTML PAGE - VWritten by Amrit Hallan
Tables are used to display information in an orderly manner. Incidentally, here we are not talking furniture. A table means tabular representation of certain data on your computer screen or in printed form.== Step 8: == Ideally, a table consists of rows and columns. Mathematically, every table has at least one row, and at least one column. In an empty square box, even if you don't see multiple vertical and horizontal lines, there is at least one row and at least one column. So when we are defining a table, there are three tags that are deeply involved in entire tabular configuration. The chief tag kindles initiation. Then we have child tag, namely, | |
The information you want to show off about. | Where n can be any positive number. Within every , there can be n numbers of | | Cont'd on page 2 ==> |
|