Basic HTML Examples

Here are some basic HTML examples. Most, if not all, of these tags are used on every HTML web page. Once your HTML document is uploaded, it’ll turn into your first web page once opened in a web browser. HTML Headings Headings are defined with the <h1> to <h6> tags …

Intro to HTML

What is HTML? HTML, you’ve probably heard of it but what is it? HTML stands for Hyper Text Markup Language. It’s a language for describing web pages. The markup language is a set of markup tags and the tags describe document content. HTML Tags HTML tags are keywords (tag names) …

HTML with CSS

Using CSS with HTML will give you more control to be able to style HTML elements. CSS can be added to HTML in three ways: Inline – Using the style attribute in HTML elements Internal – Using the <style> element in the <head> section External – Using an external CSS …

HTML Text Formatting

HTML tags use <b> and <i> tags for text formatting to bold or italic text. These tags are called formatting tags. Below is a complete reference for formatting tags. <b> Defines bold text <i> Defines italic text <u> Defines underlined text <small> Defines smaller text <strong> Defines important text, same …

HTML Tables

HTML tables are defined with the <table> tag. A table is divided into rows using the <tr> tag (tr= table row). A row is divided into data cells using the <td> tag (td= table data). A row can also be divided into headings using the <th> tag (th= table heading). …

HTML Lists

HTML Unordered List List item 1 List item 2 List item 3 An unordered HTML list starts with the <ul> tag, and each list item starts with the <li> tag and ends with the </li> tag. An unordered list are marked with bullets. <ul><li>List item 1</li><li>List item 2</li><li>List item 3</li></ul> …

HTML Links

The HTML tag <a> defines a hyperlink. A hyperlink (or simply ‘link’) is a word, a group of words, or an image that you can click on to jump to another page. You’ll know something is a link when you move the cursor over a link in a web page …

HTML Headings & Paragraphs

HTML Headings HTML headings are defined with the <h1> to <h6> tags. <h1> indicating the most important and <h6> indicating the least important. <h1>This is the most important heading</h1> <h2>This is the second most important heading</h2> <h3>This is the third most important heading</h3> Headings are important for your web page, …

HTML Forms

An HTML form passes data through a server, either creating a database or sending the form to your email. An HTML form can contain many different elements like text fields, radio-buttons, checkboxes, password field, and more. The form can also allow to select from a list, have a textarea, legend, …