|
htmlStrike
Strike-through text class | [Previous] [Main] [Next] |
| htmlStrike encapsulates the <S></S> tags. It is used to mark regions of strike-through text. Such regions will be rendered with a horizontal line through the encapsulated text.
| |
|
| |
| #include <dcmicro/htmlpp/styles.h>
| |
|
| |
| |
|
| |
| Text Formatting Classes in the User's Guide
| |
|
| |
| None.
| |
|
| |
| htmlStrike()
| |
| Constructs an empty object.
| |
|
| |
| htmlStrike( const htmlObject& element )
| |
| Constructs an object, inserting element into it.
| |
|
| |
| htmlStrike( const String& text )
| |
| Constructs an object, inserting the string text into it.
| |
|
| |
| virtual ~htmlStrike()
| |
| 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 an example of "
| |
| << htmlStrike( "strike-through" )
| |
| << "text."
| |
| << htmlBreak() ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>
| |
| This is an example of <S>strike-through</S> text.
| |
| <BR>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
|
| |
| |
