The HTML5 tr Tag

When the HTML5 <tr> tag is added to a document, its main function is to define a row which is in the HTML table. Using the HTML5 <tr> tag has to involve one or more <th> or <td> elements.

The HTML5 <tr> tag is easily recognized by the typical web browsers these days such as Google Chrome, Internet Explorer, Firefox, Safari and Opera. It is also compatible with the Events Attributes and Global Attributes in HTML5.

The following attributes which are present in HTML4.01 are no longer accepted in HTML5 when it comes to using HTML5 <tr> tag.

Attribute

Value

Description

align

right
left
center
justify
char

This is no longer supported in HTML5

char

character

This is no longer supported in HTML5

charoff

number

This is no longer supported in HTML5

valign

top
middle
bottom
baseline

This is no longer supported in HTML5

 

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …