Categories
HTML

time Element

Introduction The <time> HTML element represents a specific period in time. It may include the datetime attribute to translate dates into machine-readable format, allowing for better search engine results or custom features such as reminders. Attributes datetime 14:54 14:54:39 14:54:39.929 2023 2023-04 2023-04-27 04-27 2023-W16 2011-11-18T14:54:39.929 2011-11-18 14:54:39.929 2011-11-18T14:54:39.929Z 2011-11-18T14:54:39.929-0400 2011-11-18T14:54:39.929-04:00 2011-11-18 14:54:39.929Z 2011-11-18 14:54:39.929-0400 2011-11-18 14:54:39.929-04:00 PT4H18M3S

Categories
css HTML

Table

Table with max-height Scenario: source list is too long and table is without pagination Change display property of table to flex <thead /> allows no grow in height, width minus the width of scrollbar to keep the column width in form with <tbody /> <tbody /> occupies the rest height Change display property of table […]

Categories
css HTML

Table

Table overflows div container Fixed (source)With this (fast) algorithm, the horizontal layout of the table does not depend on the contents of the cells; it only depends on the table’s width, the width of the columns, and borders or cell spacing. Automatic (source)In this algorithm (which generally requires no more than two passes), the table’s width is […]