Cobra is a pure Java HTML DOM parser and renderer. It supports HTML 4, JavaScript, and CSS 2 (with some limitations).
| Tags | Internet Web Browsers Software Development Libraries Java Libraries Text Processing Markup HTML/XHTML |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | Java |
Recent releases


Changes: Parent (>) and sibling (+) CSS selectors have been implemented. Margin collapsing is now functional. BODY tag margin and overflow are now settable. A layout optimization was implemented. Various user-submitted patches were applied and other bugs were fixed.


Changes: SUB and SUP have been implemented. About 20 other user-reported bugs have been fixed.


Changes: The onchange event of SELECT elements was implemented. CSS property priorities were implemented. Some CSS parser bugs were fixed.


Changes: A document locales feature has been implemented. This enhancement allows Java fonts to be restricted to those that can display specific languages, such as Chinese and Japanese.


Changes: Close to 50 issues have been addressed in the renderer, HTML parser, and CSS2 parser.