<< Chapter < Page Chapter >> Page >

List

The list tag is used to make lists. It has two attributes:

  • id - a unique ID, required
  • list-type - defines the formatting of the list. list-type takes the values bulleted (default), enumerated , named-item or inline
The list tag has two children: title , which is optional, and item , which is where the list information is stored.

Example list

<list id='marinade' list-type='enumerated'><title>Beer Marinade</title><item>pour beer into large bowl</item><item>add chili powder to taste</item><item>squeeze half lime into beer marinade</item><item>place steak in beer, let soak for 30 minutes</item></list> The resulting list will look like:

    Beer marinade

  1. pour beer into large bowl
  2. add chili powder to taste
  3. squeeze half lime into beer marinade
  4. place steak in beer, let soak for 30 minutes

New list types example

CNXML 0.6 gives you much more control over the list environment. Now you will be able to choose from eight preset bullet styles as well as an option that allows you to choose your own literal text to serve as the bullet style. The enumerated list type now offers several styles, including Arabic numerals, upper and lower case alphabet characters, and also upper and lower case Roman numerals. In addition to these changes, you can now also select to have your lists follow a stepwise progression. In CNXML 0.6 the named-item list has been slightly altered, and is now called a labeled-item list. As you may have guessed, the change is quite intuitive. Instead of using<name>to specify the item's label, you use<label>.

Here is an example of a stepwise enumerate list: <list id="eip-165" list-type="enumerated" number-style="arabic" class="stepwise"><title>Beer Marinade</title><item>pour beer into large bowl</item><item>add chili powder to taste</item><item>squeeze half lime into beer marinade</item><item>place steak in beer, let soak for 30 minutes</item></list> The resulting list will look like:

    Beer marinade

  • pour beer into large bowl
  • add chili powder to taste
  • squeeze half lime into beer marinade
  • place steak in beer, let soak for 30 minutes

Equation

The equation tag is used to set off and number equations in CNXML documents by using ASCII text, MathML and embedded media to display math.

It is strongly encouraged, however, to use equation with MathML tags when displaying math.

Ascii text and images

The first child of equation is an optional title followed by any number of media tags.

<equation id="eqn14"><title>Euler's Relation</title><media id="equation-example" display="block" alt="Euler's Relation."><image mime-type='image/gif' src='euler.gif' /></media></equation> <equation id='eqn15'><title>Simple Arithmetic</title>11+27=38</equation> This equation will display as:

Simple arithmetic

11+27=38
You could also write this equation using MathML: <equation id="eqn22"><m:math><m:mn>11</m:mn><m:mo>+</m:mo><m:mn>27</m:mn><m:mo>=</m:mo><m:mn>38</m:mn></m:math></equation>

Definition

The definition tag is used to define a word in a CNXML document. It has a required id attribute and three children: term , meaning and example . How to use definition is a little confusing, so don't forget to check out [link] .

Questions & Answers

how did psychology begin?
Valerie Reply
of psychologys commencement, the traces can be seen in the work of Aristotle, where he talk about soul and body, likewise work in durrant, de anima, all these were somewhere supporting dualism, in which soul could exist separately from body
amaan
but if you talk about the moder psychology, Gustav fechner, is credited with performing scientific experiments, basis of his experiments in psychology with his studies perception.
amaan
does psychology deal with love?
Mohammed Reply
Maybe, i think
edem
I definitely would say yes
Clara
how so
Isaiah
*triarchic
Meredith
there are so many different reasons why you can fall in love with someone, many of them develope subconsciously -> psychology
Clara
love messes with the brain, a lot, ergo I believe that Psychology does indeed deal with love
what is synapse
Katie Reply
In the central nervous system, a synapse is a small gap at the end of a neuron that allows a signal to pass from one neuron to the next. synapse are found where nerve cells connect with other nerve cells
Najeem
can you do auto book auto
Mariah Reply
WHT u mean?
usef
yes
MD
heyy, may i join the conversation please?
edem Reply
who is the father of psychology
Richy Reply
aristatil
Ramadevi
and please, how would you guys, describe the study of psychology at college ?
edem
psychologist student?
Aspen
i mean not yet but am about to start college so wanna know how is it(college in general and psychology course) please
edem
Psychology is the study of mind and behaviour. So if you will take psychology as a subject so you will get to know how your everything (physical, mental, social, spiritual aspects) effects your behaviour
sakina
With this brief knowledge you can help people to cope up with their problems and only you can guide them correctly
sakina
And if you go for further specialisations you can study hypnosis, face reading, body language etc
sakina
Thanks a lot🙏🏾 And ik some of the stuffs u said but i am also going to write thesis, right ?
edem
ok no prob, thanks a lot🙏🏾✨
edem
cerebellum
Khan
hae everyone, hope you are well this evning my question is what is the difference between drive and motivation
Michael
good question
Rainee
drive is more like an impulse or urge and i think they both go together (drive and motivation) even if there is a slight difference
edem
@ Michael Drive is delivered to be innate without the use of an external stimuli, motivation normally evolves an outside stimuli which may include praise, appreciate, or reward.
Reginald
*believed...sorry for typo
Reginald
@Reginald, can't the motivation come from the inner self?
edem
Good question, please give an example.
Reginald
can we say desire of success for example
edem
Wilhelm Wundt is the father of psychology
ipau
Wilhem Wundt thank you for the road that you opened.
Qwanta
You mean who is the father of having a great educated argumentative guess? nothing is more wrong than this question. The question is you should ask yourselfs is, how sure are you abour their scientific studying? one's percieved assimilated approach to judging another person and saying they are
Roger
the biggest problem with scientific research and data is that ya you could get the same result 1000 times then it could go the other way 1000 times, but we would never know that and we did, we would still say ya but the proof is there. The only thing science proves is that humanity has
Roger
no facts about human behavior in the scientific context, but more in the trial and error.. sorry to tell you, but so far no one has proven Father of anything, thats up to you and i, judgement is bias, science is good enough lazy
Roger
cognitive development is the growing and development of the brain.
Jessy Reply
Anyone knows about Techno-fascism?
Hussein Reply
Ecofascism is a theoretical political model in which an authoritarian government would require individuals to sacrifice their own interests to the "organic whole of nature". The term is also used as a rhetorical pejorative to undermine the environmental movement.
ipau
what's the big difference between prejudice and discrimination?
Danice Reply
A prejudiced person may not act on their attitude.  Therefore, someone can be prejudiced towards a certain group but not discriminate against them.  Also, prejudice includes all three components of an attitude (affective, behavioral and cognitive), whereas discrimination just involves behavior
Nancy Lee
hi
basher
hello
Rahul
what is all about cognitive development?
Kamohelo
cognitive development is the growing and development of the brain
Jessy
how do you control a variable when using spss whilst running a pearsons correlation analysis?
Jessie Reply
it dependa on your study. according to what you want to say and explain your result
Pouran
why does it say her and she
Jayla Reply
stages of cognitive development
brivia Reply
sensory preoperatinal concrete formal
Rajendra
what is psychology
Chethani Reply
the study of insecurities and the effect on the host .
Sera
Psychology is the scientific study of behavior & mental processes
Angela
psychology is science about learning human behaviour
Zhamshid
behaviorosm
Khan
In thinking about the case of Candace described earlier, do you think that Candace benefitted or suffered as a result of consistently being passed on to the next grade?
Nene Reply
what is reward
Angeles Reply
reward is a technique to change behaviour
Rajendra
Reward is a way to promote a specific behaviour or to teach someone/ something to behave a specific way or perform a specific task.
Johan
a reward is something that is usually associated with desirable behavior. The child got a reward for winning the game. A reinforcer is different in that a reinforcer is anything that increases behavior, even if it is increasing an undesirable behavior.
Meredith
reward is earned effort realized
freweini
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





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