<< 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

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
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