© Dave Wolf, A.J. Henley 2017

Dave Wolf and A.J. Henley, Java EE Web Application Primer, https://doi.org/10.1007/978-1-4842-3195-1_12

12. HTML5 Tags

Dave Wolf and A. J. Henley2

(1)New York, USA

(2)Washington, D.C., District of Columbia, USA

A tag is created by putting the tag names in angle brackets, like this: <tag>. The word in brackets, in this case tag, is the tag name. Tags contain an opening tag and a closing tag. An opening tag contains only the tag name in angle brackets . A closing tag precedes the tag name with a forward slash. For example: <table></table>. If a tag contains no data, then the opening and closing tags can be combined, as in <br/>.

Tags can contain attributes that give further information about them. HTML5 attributes are ...

Get Java EE Web Application Primer: Building Bullhorn: A Messaging App with JSP, Servlets, JavaScript, Bootstrap and Oracle 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.