JavaScript Tutorial

Other Key Elements

Element

Meaning

Purpose

<a>

Anchor

Create hyperlinks to other web pages, files, or locations within the same page

<img>

Image

Insert images in the web page

<form>

Form

Create a form to gather user input, such as contact information or a search query

<input>

Input

Create various types of form input fields, such as text fields, radio buttons, checkboxes, and submit buttons.

<b>

Bold

Highlight important information

<strong>

Strong

Similar to bold, to highlight the text

<i>

Italic

To make text as italic

<u>

Underlined text

Used for links or text highlights

<sub>

Subscript text

To highlight lower to other content

<sup>

Superscript text

To highlight superior to other content

Go back to Previous Course