Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
OutFileHTML::writeAttribute Method (std::string&, int)

Writes an HTML attribute and its integer value.

C++
void writeAttribute(
    const std::string& style, 
    int value
);
Parameters 
Description 
const std::string& style 
The attribute name. 
int value 
The attribute value as an integer. 

They are written as a space, the attribute name, an equals sign, and the attribute value in double quotes.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!