4 ms·
You would implement that like this: HTML::document d; HTML::p p( d ); d.text( "Hello, " ); { HTML::span s( d ); d.text( "wor
by Negitivefrags 8y ago
You would implement that like this:
HTML::document d;
HTML::p p( d );
d.text( "Hello, " );
{
HTML::span s( d );
d.text( "world!" );
}
d.text( " Welcome!" );
Obviously though, if you were trying to do an HTML parser as well, then my ideas are not appropriate.