|
htmlSuperscript
Superscripted text class | [Previous] [Main] [Next] |
| htmlSuperscript encapsulates the <SUP></SUP> tags. It is used to mark regions of text that should be rendered as superscript text using a smaller font compared with normal text.
| |
|
| |
| #include <dcmicro/htmlpp/styles.h>
| |
|
| |
| |
|
| |
| Text Formatting Classes in the User's Guide
| |
|
| |
| None.
| |
|
| |
| htmlSuperscript()
| |
| Constructs an empty object.
| |
|
| |
| htmlSuperscript( const htmlObject& element )
| |
| Constructs an object, inserting element into it.
| |
|
| |
| htmlSuperscript( const String& text )
| |
| Constructs an object, inserting the string text into it.
| |
|
| |
| virtual ~htmlSuperscript()
| |
| 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 is "
| |
| << htmlSuperscript( "superscripted" )
| |
| << " text."
| |
| << htmlBreak() ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>This is <SUP>superscripted</SUP> text.<BR>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
|
| |
| |
