잘못된 형식의 HTML 페이지에서 특정 유형의 모든 요소를 검색하는 Java에서 가장 쉬운 방법은 무엇입니까? 그래서 이런 식으로 뭔가를 할 :이 (다소) 잘못된 HTML을 다루는에 올 때유형별로 잘못된 HTML 형식으로 요소 가져 오기
public static void main(String[] args) {
// Read in an HTML file from disk
// Retrieve all INPUT elements regardless of whether the HTML is well-formed
// Loop through all elements and retrieve their ids if they exist for the element
}
+1 비교를 위해 – digiarnie