© Michael Müller 2018
Michael MüllerPractical JSF in Java EE 8 https://doi.org/10.1007/978-1-4842-3030-5_5

5. HTML-Friendly Markup

Michael Müller1 
(1)
Brühl, Nordrhein-Westfalen, Germany
 

In the early days of JSF, most developers knew Java, but not HTML. The JSF tags are designed to provide a view description without any need for a deep HTML knowledge. Times have changed, and today many developers are familiar with HTML. So, why not define a page by its target language, HTML? That’s what HTML-friendly markup is for.

HTML-friendly markup is one of the features introduced with JSF 2.2. HTML5-friendly markup , or more precisely, pass-through elements and pass-through attributes, were introduced to support additional features of HTML5. For example, ...

Get Practical JSF in Java EE 8: Web Applications ​in Java for the Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.