LNode node = new LNode("div"); node.AttrList.Add(new AttrNamed("class", "my-class")); node.AttrList.Add(new AttrNamed("id", "my-id"));
LNode node = new LNode("a"); node.AttrList.Add(new AttrNamed("href", "https://www.google.com")); string href = node.AttrList.GetNamedItem("href").Value;This code creates an LNode object representing an anchor tag with href "https://www.google.com", and then retrieves the value of the "href" attribute using AttrNamed. Overall, LNode AttrNamed is a useful class for working with HTML attributes in the LightHtml library.