display property CSS

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.
In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn’t exist in the document tree.


display: none
display: inline
display: block
display: list-item
display: inline-block
display: inline-table
display: table
display: table-cell
display: table-column
display: table-column-group
display: table-footer-group
display: table-header-group
display: table-row
display: table-row-group
display: flex
display: inline-flex
display: grid
display: inline-grid
display: run-in

display: inherit

<!DOCTYPE html>
            a {
                display: block;
                width: auto;
                height: auto;
            td {
                background-color: #CCC;
        <table width="100%">
                    <a href="http://www.loopandbreak.com">
                    	Click Anywhere in shaded area, link will work