String Keywords

  Previous topic Next topic  

String keywords are new in CSE HTML Validator v10 and represent certain string values. Like function names and variables, these keywords are also case-insensitive. These keywords provide better code readability and often result in slightly faster code than using equivalents such as the getTagName() function.

CurrentAttName - represents the current attribute name
CurrentAttValue - represents the current attribute's value
CurrentTagName - represents the current tag name as would be returned by getTagName()