Lookup and return the hzHtagform (tag function class). The search is by tagname.
| Return Type | Function name | Arguments |
|---|---|---|
| hzHtagform& | TagLookup | (hzString&,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
hzHtagform& TagLookup (hzString& htag)
{
// Category: Internet
//
// Lookup and return the hzHtagform (tag function class). The search is by tagname.
//
// Arguments: 1) htag A string presumed to be one of the allowed HTML5 tags
//
// Returns: Reference to the tag form for the tag
// If tagmap not loaded, load it
if (!s_htagNam.Count())
InitHtml() ;
return s_htagNam[htag] ;
}