How should a <!DOCTYPE> section look in JSF? HTML5 or XHTML?

前端 未结 2 1033
天命终不由人
天命终不由人 2020-12-01 18:37

It\'s just a curiosity I\'m having right now. In Eclipse this is the section that came defined on a New Facelet Template for instance, but

2条回答
  •  醉酒成梦
    2020-12-01 19:15

    The best solution would be to use the detailed declaration only once in the index template and include the header & body templates there. If that's not possible, you can leave this declaration away. It's "standard", but not really necessary!

提交回复
热议问题