Basic Computer Notions Beyond HTML

Next Introduction Intellectual property Style sheets Style sheets (cont'd) External style-sheet file External style-sheet file (cont'd) Styles within the head 8 of 57 Styles within the body (cont'd) Controlling spacing Controlling spacing (cont'd) CSS2 Further information XML XML (cont'd) XML (cont'd) XML (cont'd) MathML MathML (cont'd) MathML (cont'd) MathML (cont'd) MathML (cont'd) XML for other areas XML for other areas (cont'd) XML for other areas (cont'd) XSL and XSLT Example XML file Corresponding XSL file Resulting HTML Javascript Java Cookies Push vs. pull RSS Semantic Web Uniform Resource Identifiers Uniform Resource Identifiers (cont'd) OID's OID's (cont'd) OID's (cont'd) OID's (cont'd) Use of OID's in HL7 XML Resource Description Framework Resource Description Framework (cont'd) Resource Description Framework (cont'd) Resource Description Framework (cont'd) Resource Description Framework (cont'd) Ontologies Ontologies (cont'd) Applications in medicine Applications in medicine (cont'd) Applications in medicine (cont'd) Web services Typical application Typical application (cont'd) Potential medical applications

Styles within the body

A style specification can also be included directly within the body.
For example, <p style="color:red"> would cause the following paragraph to be displayed in red.

Note that specifying the style directly in the text this way loses some of the advantage of using styles.

It might be better to define, for example, a p.special style in the head, and then introduce the paragraph with a <p class=special> tag.
This would definitely be better if the style is applied to more than one paragraph.


Start Next
Bacon home page

Valid HTML 4.01! Valid CSS!

Creative Commons
License
This work is licensed under a Creative Commons License.
R. Funnell

Last modified: Thu, 2007 Mar 8 09:45:21

Slide show generated from beyond.html by Weasel 2007 Mar 8