5 Attribute descriptions
 5.1.1 Attribute align
The attribute align can contain the values left, middle, right, top,
bottom, texttop, absmiddle and absbottom. Each of these values is described
below. Note that not every value can be used in every occasion when an
element has the attribute align. For example, it does not make much sense
to use absmiddle within a table cell to align text. Then is might be more
sensible to use left, middle or right.
| Value: |
Use: |
| left |
Left aligns text, multimedia objects, etc. on the left hand side
of a column, a table cell, etc. |
| middle |
Middle or center aligns text, multimedia objects, etc. in the middle
of a column, a table cell, etc. |
| right |
Right aligns text, multimedia objects, etc. on the right hand side
of a column, a table cell, etc. |
| top |
Top aligns multimedia objects on the top of, for example, a table
cell. |
| bottom |
Bottom aligns multimedia objects on the bottom of, for example,
a table cell. |
| texttop |
Texttop aligns text at the top of graphics (vertically). |
| absmiddle |
Absmiddle aligns text in the middle of graphics (vertically). |
| absbottom |
Absbottom aligns text at the bottom of graphics (vertically). |
Often it might be helpful to try in a test lesson how each attribute value
is displayed. Note that these representational hints are only valid if
using the standard elml.xsl file. When creating an own xsl file then these
representations may be changed.
Adapted from SelfHTML
(Münz, 2001)
 5.1.2 Attribute icon
The values of the attribute icon can be adjusted to suit the needs of
your project. For instructions see chapter
3.3.3. The icons can be used to mark a paragraph, a table, a
list or whatever special. See the following code and representation examples
to see how it works. Note that the representation examples are only valid
if using the standard elml.xsl file.
XML Example 'important'
<paragraph icon="important">text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text </paragraph>
Presentation:

XML Example 'question'
<paragraph icon="question">text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text </paragraph>
Presentation:

XML Example 'remark'
<paragraph
icon="remark">text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
text text </paragraph>
Presentation:
Previous "Metadata"
| Top
| TOC
| Next
"How to create a Lesson with eLML"
|