|
htmlCite
Inline citation class | [Previous] [Main] [Next] |
| htmlCite encapsulates the <CITE></CITE> tags. Most browsers, including Netscape Navigator, display citations in italics.
| |
|
| |
| Use htmlCite to display inline citations, and use htmlBlockQuote
| |
| to display block-level quotes that start on a new line.
| |
|
| |
| #include <dcmicro/htmlpp/styles.h>
| |
|
| |
| |
|
| |
| Text Formatting Classes in the User's Guide
| |
|
| |
| None.
| |
|
| |
| htmlCite()
| |
| Constructs an empty object.
| |
|
| |
| htmlCite( const htmlObject& element )
| |
| Constructs an object, inserting element into it.
| |
|
| |
| htmlCite( const String& text )
| |
| Constructs an object, inserting the string text into it.
| |
|
| |
| virtual ~htmlCite()
| |
| Destroys the object.
| |
|
| |
|
| |
| #include <stdio.h>
| |
| #include <stdlib.h>
| |
| #include <dcmicro/htmlpp/htmlpp.h>
| |
|
| |
| int main( void )
| |
| {
| |
| htmlCgi server ;
| |
| htmlPage page( "html++ example application" ) ;
| |
|
| |
| page << "This text is "
| |
| << htmlCite( "a citation." )
| |
| << htmlBreak() ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>
| |
| This text is <CITE>a citation.</CITE><BR>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
|
| |
| |
