HTML Code Examples
HTML stands for HyperText Markup Language. It's the language that enables us to build web pages.
This section of Code-Generator.net provides HTML code examples and HTML generators. An HTML code generator simply outputs HTML code based on your selection from an online form.
Forms
Form Elements
buttontextareaselectselectwithsizeattributeselectwith multiple items able to be selecteddatalistfieldsetoutputprogressmeterinput type="hidden"input type="text"input type="color"input type="number"input type="range"input type="date"input type="search"input type="tel"input type="url"input type="email"input type="password"input type="month"input type="week"input type="time"input type="datetime-local"input type="checkbox"input type="radio"input type="file"input type="submit"input type="image"input type="reset"input type="button"
Image Examples
Table Examples
Text Examples
bfor bold textblockquotefor quotes from another sourcebrfor line breakscitefor citationscodefor codedfnfor defining instance of a termdelfor deleted textemfor stress emphasish1-h6for headingsifor text in an alternate voice or moodinsfor inserted Textkbdfor keyboard Textpfor paragraphsprefor preformatted Textsmallfor small print, side comments, etcqfor single-line quotes from another Sourcesampfor sample output from a computer programvarfor a variable within the prose
Link Examples
Unordered Lists
Ordered Lists
Definition Lists
Background Articles
HTML Text Articles
- Text Codes
- Text Color Codes
- Font Size
- Font Style Codes
- Marquee Codes (scrolling text)
HTML Color Articles
Other HTML Articles
HTML Generators
For more copy/paste codes, see the full list of examples, which includes CSS, JavaScript, jQuery, etc.