HTML Tag Attributes

HTML Tag Attributes.

HTML tags can have attributes. Attributes provide additional information to an HTML element.Attributes are always specified in the start tag of an HTML element.

<h1> the start of a heading.

<h1 align="center"> the start of a heading.

<body>the body of an HTML document.

<body bgcolor="yellow">information about the background color.

<table> HTML table. (You will learn more about HTML tables later)

<table border="1"> the border around the table.

Post Comment
Login to post comments