What Doctype do I use in Primefaces?

Asked

Viewed 58 times

1

I merged a project using Primefaces + Primefaces Mobile, and I don’t know which Doctype to use. I can use HTML5 Doctype?

  • 1

    Which version of Primefaces you’re using?

1 answer

1

If you are in version 5 or higher, you can use <!DOCTYPE html> to HTML5.

The very one showcase does this, in addition to emphasizing in the item Components that the components are HTML5 compatible.

Of course, this does not mean that one or the other component will not give problem. Only this would happen anyway, because the PF always has components "buggers". ;)

If you have a previous version, unfortunately there are no guarantees as there is no detailed compatibility or history table.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.