
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Use JSF with HTML 4.5 and Facelets
Facelets is an open-source Web template system for JavaServer Faces (JSF). The language requires valid input XML documents to work. Facelets supports all of the JSF UI components and focuses completely on building the JSF component tree, reflecting the view for a JSF application.
Facelets is a XML based view technology. It cannot be used with HTML4 doctype. You can use <!DOCTYPE html> with JSF/Facelets, even without a <?xml?>declaration in top of the page.
<!DOCTYPE html> <html lang = "en" xmlns:jsf = "http://xmlns.jcp.org/jsf" xmlns:f = "http://xmlns.jcp.org/jsf/core" xmlns:h = "http://xmlns.jcp.org/jsf/html"> <h:head> <title>Title</title> </h:head> <h:body> <header jsf:id = "header">Header</header> <navjsf:id = "nav">Nav</nav> <main jsf:id = "main">Main</main> <footer jsf:id = "footer">Footer</footer> </h:body> </html>
Advertisements