Learn HTML
On this page
HTML
Document Structure:
<html>: Defines the root of an HTML document.<head>: Contains meta-information about the document.<title>: Sets the title of the document displayed in the browser.<meta>: Provides metadata about the document.<link>: Specifies relationships between the current document and external resources.<style>: Defines inline CSS styles.<script>: Embeds or references external scripts.<noscript>: Provides alternative content for users with disabled scripts.<base>: Specifies a base URL for relative URLs in the document.
Code Editor
Code Editor H1-H6
Text Content:
<p>: Defines a paragraph.<h1>to<h6>: Define headings of different levels.<strong>: Represents strong importance (bold).<em>: Represents emphasized text (italic).<u>: Underlines text.<s>: Renders text with a strikethrough.<blockquote>: Defines a section that is a longer quote from another source.<q>: Defines a short inline quotation.<abbr>: Defines an abbreviation or acronym.<code>: Represents computer code.<pre>: Defines preformatted text, preserving both spaces and line breaks.<a>: Creates a hyperlink.<ul>: Defines an unordered list.<ol>: Defines an ordered list.<li>: Defines a list item.<dl>: Defines a description list.<dt>: Defines a term/name in a description list.<dd>: Defines the description of a term in a description list.
Code Editor: using all above tags
Multimedia:
<img>: Embeds an image.<audio>: Embeds audio content.<video>: Embeds video content.<iframe>: Embeds an external webpage within the current page.
Code Editor : using all above tags
Forms and Input:
<form>: Creates an HTML form.<input>: Creates an input field.<textarea>: Creates a multiline text input.<button>: Creates a clickable button.<select>: Creates a dropdown list.<option>: Defines an option in a<select>element.<label>: Defines a label for an input element.<fieldset>: Groups related elements in a form.<legend>: Defines a caption for a<fieldset>element.<radio>: Creates a radio button.<checkbox>: Creates a checkbox.<submit>: Creates a submit button.
Code Editor : using all above tags
Line Break and Horizontal Rule:
<br>: Inserts a line break, primarily used within text content.<hr>: Represents a thematic break or horizontal rule in the content.
Code Editor : using all above tags
Semantic Elements:
<header>: Represents a container for introductory content.<nav>: Defines navigation links.<main>: Contains the main content of the document.<article>: Represents a self-contained composition.<section>: Defines a section in a document.<aside>: Represents content aside from the main content.<footer>: Represents the footer of a document or a section.<figure>: Contains media content and its caption.<figcaption>: Represents the caption for a<figure>element.<mark>: Highlights text.
Code Editor : using all above tags
Created with HTML
More in 21 days of HTML CSS JS
See all →- Ultimate Guide to Free Web Development Resources In today’s digital age, web development is a crucial skill that opens up numerous opportunities. Whether you’re a beginner looking to build...
- 10 Effective Ways to Center a Div Hello, myself Ajink. In this article, we will explore the various techniques to center a div element on a web page. Centering a div might se...
- How to Create an Valentine’s Day Website? How to Create an Valentine’s Day Website , lets get started Demo : Here is Complete SourceCode : body background-color: #fde8e8; font-family...
- Create a accordion with html css and javascript body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh;...
- Create a virtual keyboard that users can interact with on the webpage. Virtual Keyboard body font-family: 'Arial', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center;...
- Create a virtual canvas where users can draw and paint using HTML5 canvas and JavaScript. Hey , I am Ajink in this post we will create a virtual canvas where you can draw and paint using html5 and javascript ! Virtual Canvas body...