The w3-bordered class adds a border below each table row.
Replace w3-bordered with w3-border to see an outer border instead.