startHtmlTag property
String
startHtmlTag
creates a valid start-tag representation for this node (HTML)
Implementation
String get startHtmlTag {
if (tagName.isEmpty) return "";
String startTag = "<$tagName";
for (SimpleProperty property in properties) {
startTag += ' ${property.name}="${property.toHtml()}';
startTag += '"';
}
return "$startTag>";
}