When comparing DocBook vs HyperText Markup Language (HTML), the Slant community recommends HyperText Markup Language (HTML) for most people. In the question“What are the best markup languages?” HyperText Markup Language (HTML) is ranked 3rd while DocBook is ranked 13th. The most important reason people chose HyperText Markup Language (HTML) is:
Styling through CSS is declarative and powerful, but somewhat inadequate for print without expensive tools like Prince.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Powerful and possessing a very rich vocabulary
Pro XSL stylesheets
Can produce good-looking output in PDF, HTML or ePub through the use of the Docbook XSL stylesheets, which are not difficult to customize.
Pro Easy to extend
Pro Styling via CSS
Styling through CSS is declarative and powerful, but somewhat inadequate for print without expensive tools like Prince.
Pro Natively understood by browsers
Natively understood by browsers, you can author and view HTML on virtually every computer without any additional software.
Pro Most universal and widely used markup language
Pro Simple
HTML is fairly simple for both humans and machines. It can be repetitive and burdensome to type, but less so than most other XML or SGML-derived formats.
Pro Simple interactivity through JavaScript
JavaScript code can be embedded directly into a HTML document.
Cons
Con Hard to learn
Because of its complexity and large vocabulary and complicated toolchain, it is hard to learn.
Con Verbose
Tags can hide actual content.