CSCI 1720
Intermediate Web
☰
none | [ start | end | endedge ]
none | start | end | adjacent
start | end | left | right | center | justify
start | end | left | right | center | justify
none | underline | overline | line-through | blink
none | [ [ accent | dot | circle | disc | [ before | after ]?]
normal | embed | bidi-override
normal | pre | nowrap | pre-wrap | pre-line
perserve | collapse | pre-servebreaks | discard
normal | keep-all | loose | break-strict | break-all
Text properties allow you to modify the way text is laid out when the page loads
Text inside an element is laid out inside the element's content box. It starts at the top left of the content area (or the top right, in the case of RTL language content), and flows towards the end of the line. Once it reaches the end, it goes down to the next line and continues, then the next line, until all the content has been placed in the box. Text content effectively behaves like a series of inline elements, being laid out on lines adjacent to one another, and not creating line breaks until the end of the line is reached, or unless you force a line break manually using the <br> element