Is there an easy way to insert a TAG plus tag values in a HTML using HTMLParser? So far what I have used is the NodeVisitor to modify Tag values but not adding a new tag.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
check This and This out, there are two functions that help you to insert new tag. only you need to instantiate your desire Node object then insert it using “second This link” 😀