Skip to main content

16 docs tagged with "text"

View all tags

HTML Abbreviations

Learn how to use the HTML abbr tag to explain abbreviations, acronyms, and initialisms. Understand the title attribute, first-use best practices, accessibility on touch and keyboard, styling with CSS, and global language tips on CodeHarborHub.

HTML Citations

Learn how to use the HTML cite element to mark the title of a creative work such as a book, film, song, or article. Understand cite vs the cite attribute, what not to wrap, reference lists, styling with CSS, and global considerations on CodeHarborHub.

HTML Code and Preformatted Text

Learn how to show code in HTML with the code, pre, kbd, samp, and var tags. Understand whitespace, escaping special characters, styling with CSS, accessibility, and global tips like translate=no, explained clearly on CodeHarborHub.

HTML Emphasis and Italic

Learn the difference between the HTML em and i tags. Understand stress emphasis vs alternate voice, accessibility, CSS font-style, italic challenges in global scripts, and best practices, explained in simple language on CodeHarborHub.

HTML Headings

Learn how to use HTML headings h1 to h6 to build a clear page outline. Understand heading hierarchy, best practices for SEO and accessibility, common mistakes, and how to style headings with CSS on CodeHarborHub.

HTML Horizontal Rule

Learn how to use the HTML hr tag to mark a thematic break between topics. Understand its meaning, default look, how to style it with CSS, accessibility tips, and common mistakes, explained clearly on CodeHarborHub.

HTML Line Breaks

Understand how the HTML br tag works, when to use a line break instead of a new paragraph, how to handle addresses and poems, and which CSS options and mistakes to know. A clear, step-by-step guide on CodeHarborHub.

HTML Paragraphs

Learn how to write paragraphs in HTML with the p tag. Understand how browsers handle spaces and line breaks, how to style paragraphs with CSS, and how to avoid common beginner mistakes, explained in simple language on CodeHarborHub.

HTML Quotations

Learn how to mark up quotations in HTML with the blockquote and q tags. Understand the cite attribute, figure and figcaption for attribution, quotation marks in different languages, CSS styling, and common mistakes on CodeHarborHub.

HTML Semantic Text Elements

Learn how HTML semantic text elements such as mark, time, small, del, ins, s, dfn, bdi, bdo, data, and ruby add meaning to your content. Improve accessibility, SEO, and global readability with CodeHarborHub.

HTML Strong and Bold

Learn the difference between the HTML strong and b tags. Understand semantic importance vs visual style, accessibility, font-weight in CSS, and best practices for global audiences, explained in simple language on CodeHarborHub.

HTML Subscript and Superscript

Learn how to write chemical formulas, math exponents, footnotes, and ordinals with the HTML sub and sup tags. Understand when to use them, how to fix line spacing with CSS, accessibility, MathML, and global conventions on CodeHarborHub.

HTML Text Content

Learn how to structure and format text in HTML. Master headings, paragraphs, line breaks, bold and italic text, quotations, code and preformatted text, abbreviations, and semantic text elements with CodeHarborHub.

HTML Underline

Learn when to use the HTML u tag and when to use CSS text-decoration instead. Understand why underlined text is confused with links, how to style underlines with CSS, accessibility and global script tips, and common mistakes on CodeHarborHub.

Text Inputs: type='text'

Learn how to capture single-line text data using input type='text', configuring default values, placeholders, and character limits.