Jul 18, 2024
<!DOCTYPE html>
: Declaration indicating HTML5.<html>
, <head>
, <title>
for the page title, and <body>
for content.<!DOCTYPE html>
for HTML5.<html lang="en">
, <head>
, <title>
for metadata.<body>
for main content.{<h1>}
, {<p>}
, {<a>}
for hyperlinks, {<img>}
for images.<li>
.<table>
for table, <thead>
for table head, <tbody>
for table body, and <td>
for table data cells.border
, padding
, and margin
.<form>
, <input>
, <label>
, <button>
.text
, password
, submit
, radio
, checkbox
, datalist
.<style>
tag in the HTML document's <head>
..css
file linked in the HTML document..
to apply styles to all elements with a specific class.#
for styling unique elements with a specific ID..scss
files to .css
files for browser compatibility.
Sass --watch
for automatic compilation.