<< Chapter < Page Chapter >> Page >

Title

The title tag can be used with many CNXML tags to hold the name of its parent. This tagcan only contain information in ASCII text or MathML. I mention it here to allow you to put in the name of the module (since Imentioned that it was the first required tag in the document tag).

<title>Grilling a Good Steak</title>
Please see the CNXML tag list in Edit-In-Place to see if a tag can be named.

Content

Now that you have the document tag set up with an id and namespace info, the next thing to do with your document is add content. By 'content' I meanthe text that will make up the bulk of your document.

Strictly speaking the metadata should precede information about content, but we will leave this untillater.
All of this content is conveniently placed in the content tag. Every CNXML document will have one content tag. The body of the document will be here inside the content tag.

Structural tags are the tags which are used inside of the content tag to give structure to the document. These tags are discussed below.

Structure tags

Some of the structure tags are section , para , document , and content .

We have already discussed the document and content tags, so we will proceed with a short description and examples of the other other tags listed.

Para

Text can be inserted into documents by using the para tag. Each para has a required id which must be unique within the document.

<para id='intro'>I have eaten many steaks in my life and none have been more satisfying than the backyard-grill cooked steak. Maybe this is because of therelaxing nature of drinking a beer, being outside, and lounging that accompanies the grilling procedure. Maybe it is because of the aromaof the grill and the beef perfectly seasoned to your taste. Either way, this document shows how a good steak can be prepared.</para>

Section

As often is the case in textbooks, chapters are divided into smaller sections. Because it is often necessary tosegment text for better understanding and coherence, CNXML has included a section tag.

The section tag has one required attribute, id , and a optional first child tag, title .

<section id='ingredsec'><title>Ingredients</title><list>...</list></section><section id='marinadesec'><title>Marinade</title><para id='marinate'>...</para><list id='marinade'>...</list><para id='tobecontinued'>...</para></section><section id='grillingsec'><title>Grilling</title><para id='prepgrill'>...</para><para id='grilling'>...</para></section>

Obviously ellipses would be replaced by appropriate text.

Inline tags

Inline tags are used to embed content and functionality inside of the structural tags . Some of the more commonly used tags are discussed below.

Emphasis

The emphasis tag is used to emphasize text in a CNXML document where emphasis intext would be needed or desired. It is important to note that this refers to semantic emphasis and not a typeface, although many stylesheets may choose to render it visually with a differenttypeface.

Questions & Answers

if three forces F1.f2 .f3 act at a point on a Cartesian plane in the daigram .....so if the question says write down the x and y components ..... I really don't understand
Syamthanda Reply
hey , can you please explain oxidation reaction & redox ?
Boitumelo Reply
hey , can you please explain oxidation reaction and redox ?
Boitumelo
for grade 12 or grade 11?
Sibulele
the value of V1 and V2
Tumelo Reply
advantages of electrons in a circuit
Rethabile Reply
we're do you find electromagnetism past papers
Ntombifuthi
what a normal force
Tholulwazi Reply
it is the force or component of the force that the surface exert on an object incontact with it and which acts perpendicular to the surface
Sihle
what is physics?
Petrus Reply
what is the half reaction of Potassium and chlorine
Anna Reply
how to calculate coefficient of static friction
Lisa Reply
how to calculate static friction
Lisa
How to calculate a current
Tumelo
how to calculate the magnitude of horizontal component of the applied force
Mogano
How to calculate force
Monambi
a structure of a thermocouple used to measure inner temperature
Anna Reply
a fixed gas of a mass is held at standard pressure temperature of 15 degrees Celsius .Calculate the temperature of the gas in Celsius if the pressure is changed to 2×10 to the power 4
Amahle Reply
How is energy being used in bonding?
Raymond Reply
what is acceleration
Syamthanda Reply
a rate of change in velocity of an object whith respect to time
Khuthadzo
how can we find the moment of torque of a circular object
Kidist
Acceleration is a rate of change in velocity.
Justice
t =r×f
Khuthadzo
how to calculate tension by substitution
Precious Reply
hi
Shongi
hi
Leago
use fnet method. how many obects are being calculated ?
Khuthadzo
khuthadzo hii
Hulisani
how to calculate acceleration and tension force
Lungile Reply
you use Fnet equals ma , newtoms second law formula
Masego
please help me with vectors in two dimensions
Mulaudzi Reply
how to calculate normal force
Mulaudzi
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Cnxml tutorial. OpenStax CNX. Jul 08, 2009 Download for free at http://cnx.org/content/col10121/1.10
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Cnxml tutorial' conversation and receive update notifications?

Ask