What is a BORDER attribute

So I’ve been taking notes to make me understand coding easier. The problem is that code academy didn’t really explain what the border attribute is. One example is…

Table Time
    <table border="1px">
        <td> two </td>
            <td> three </td>
If you look right after the tag, you'll see it say . What exactly is the border attribute??????

HTML elements are objects, and as such they have properties associated with them.


generally referred to as a tag.

<element property="value">

an element with a property attribute.

Your code contains an example of the a border attribute:

<table border="1">

Note that in HTML, numeric values do not have units like they would in CSS. HTML interprets the above as a TABLE element with a 1 pixel wide border.