… = WebElement[…] (gb.qt4.webkit)

Dim hWebElement As WebElement
Dim aString As String
aString = hWebElement [ Attribute As String ]

Returns the value of an attribute. If the attribute does not exist, NULL is returned.

If you need to make the difference between a non-existent attribute and an attribute with a void value, use the HasAttribute method.