Description:
|
Headlines.
Advertise...
Explain in Details.
- <article>
<article>
tag define independent, self-contained content. it is
mostly used for a form post or a blog post.
- <aside>
The <aside>
tag describe some of the content in addition to the content it
contains. Often we use it for specific content as tip or as sidebar
for a documents.
<aside>
tag describe some of the content in addition to the content it
contains. Often we use it for specific content as tip or as sidebar
for a documents.
- <base>
<base>
tag Specifies the basic URL and / or target for all relevant URLs in a
document. It is always placed inside the head section and only one
base URL can be used in the document.
<!-- as if --> <img src="https://www.blogger.com/anyweb/123.png"> <img src="https://www.blogger.com/anyweb/124.png"> <img src="https://www.blogger.com/anyweb/125.png"> <!-- After using base url --> <head> <base href="https://www.blogger.com/anyweb/"> </head> <img src="123.png"> <img src="124.png"> <img src="125.png">
- <bdo>
<bdo>
tag is used to override the direction of the existing text. By
default this will shows Left to Right direction of text but change
direction we used
dir
attribute to define direction.
<bdo dir="ltr"> 12345 </bdo> <br /> <bdo dir="rtl"> 12345 </bdo>
- <blockquote>
<blockquote>
tag is used to display a specific section of content that
is quoted from another source.
- <button>
<button>
, it is not difficult to understand that the button tag is used to
create the button.
<button>I'm a Button</button>
- <code>
<code>
, it is used to display code in a post or blog. The <code>
tag is used to describe a piece of computer
code. Inside content appears in the browser's default monospace
font.
<p>The <code>h2</code> is used to display heading while <code>h1</code> is used to display Major heading</p>
The h2
is used to display heading while
h1
is used to display Major heading
- <datalist >
<datalist>
tag lists the
default options for the <input> element. It can only be
used for the pre-defined list in the input element. The dropdown
menu that appears in the input element for the user to displays
defined list.
<input placeholder="Choose your Name from the list" list="browsers" style="width: -webkit-fill-available;"> <datalist id="browsers"> <option value="Ali"> <option value="Bruss"> <option value="Cotangel"> <option value="Dean"> <option value="Eizer"> </datalist>
- <dl>, <dt> & <dd>
<dl>, <dt> and <dd>
tags are used to display a description list with a
description term. "dl" means data list, "dt" means data terms and
"dd" means data description.
<dl> <dt>HTML</dt> <dd>All about HTML</dd> <dt>CSS</dt> <dd>All about CSS</dd> <dt>JS</dt> <dd>All about Javascript</dd> </dl>
- HTML
- All about HTML
- CSS
- All about CSS
- JS
- All about Javascript
- <details>
<details>
tag is used to creates a detailed menu for a brief
summary. The <details> tag specifies additional details that the user can
open and close upon request.
<details> <summary>This is short summary of Post</summary> <p> This is the description of the post. When you click on Summary, the full post will appear. Clicking again will hide the details. </p> </details>
This is short summary of Post
This is the description of the post. When you click on Summary, the full post will appear. Clicking again will hide the details.
- <div>
<div>
tag is very important tag in HTML. It is block which can fully
styled with
CSS. We will learn CSS in detail after covering this Class. Almost all tags
can be used inside
<div>
tag.
- <embed>
<embed>
tag is used to define a container for any external resources
in a web-document, such as a webpage, media (video, audio or image) or a
plugin.
<embed type="video/webm" src="video.mp4" width="400" height="300">
- <fieldset>
<fieldset>
tag is used to make submit form. The
<fieldset>
tag is used to group the relevant elements in the form. The
<fieldset>
tag draws a box around the relevant elements.
<fieldset> <legend>Sign up</legend> <label for="fname">First name:</label> <input type="text" id="fname" name="fname"><br><br> <label for="lname">Last name:</label> <input type="text" id="lname" name="lname"><br><br> <label for="email">Email:</label> <input type="email" id="email" name="email"><br><br> <label for="birthday">Birthday:</label> <input type="date" id="birthday" name="birthday"><br><br> <input type="submit" value="Submit"> </fieldset>
- <figure> & <figcaption>
<figure> & <figcaption>
tags are used to define a figure with caption.
<figure> <img src="https://cdn.pixabay.com/photo/2022/01/23/13/04/sparrow-6960807_960_720.jpg" style="width:100%"> <figcaption>This Photo is grabed from Pixabay</figcaption> </figure>
- <input>
<input>
tag is a input-field for user where user can provide required
information. The
<input>
element is the most important form element. The <input>
element can be expressed in a number of ways, depending on the type
of attribute. Consider the example below.
<div style="display:flex;flex-wrap: wrap;justify-content: space-between;"> <input type="button"> <input type="checkbox"> <input type="color"> <input type="time"> <input type="datetime-local"> <input type="date"> <input type="week"> <input type="month"> <input type="email"> <input type="file"> <input type="image"> <input type="number"> <input type="password"> <input type="radio"> <input type="range"> <input type="reset"> <input type="search"> <input type="submit"> <input type="tel"> <input type="text"> <input type="url"> <input type="hidden"> </div>
- <ol> , <ul> & <li>
<ol> , <ul>
& <li>
tags are used to define a list 📃 with ordered-list and
unordered-list. "ol" stands for ordered-list (Numeric), "ul" stands
for unordered-list (Doted) and "li" for list's Items.
<h3> Ordered List </h3> <ol> <li>Item #1</li> <li>Item #2</li> <li>Item #3</li> </ol> <h3> unordered List </h3> <ul> <li>Item #1</li> <li>Item #2</li> <li>Item #3</li> </ul>
Ordered List
- Item #1
- Item #2
- Item #3
unordered List
- Item #1
- Item #2
- Item #3
- <link>
<link>
tag is used to link external resources to the current
document. The
<link>
tag describes the relationship between the current document and
external resources. The
<link>
tag is often used to link to external style sheets or to add favicon
to your website. The
<link>
element is an empty element, containing only attributes.
- <meta>
<meta>
tag is used to define metadata for the document while
metadata mean data (information). Document (website) description,
keywords (SEO - Search engine optimization), document author name
or visibility of document defined in
<meta> tag. This is a blank tag and usually contains two attributes. The first
attribute "name" is the name of the metadata and the second attribute is
the content, the content of the metadata.
<head> <meta charset="UTF-8"> <meta name="description" content="Letslearnlights - Hacking and Developing"> <meta name="keywords" content="HTML, CSS, JavaScript"> <meta name="author" content="chauhan"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head>
- <meter>
<meter>
tag is used to measure data within a given
range. The
<meter>
tag specifies a scalar measurement, or a partial value,
within a known range.
<h3>Rang by Percentage Value</h3> <meter value="0.7" style="border-radius: 5px;box-shadow: 0px 0px 5px black;padding: 0px 5px;width: -webkit-fill-available;"></meter> <br> <h3>Rang by Max-Min Value</h3> <meter value="4" min="0" max="10" style="border-radius: 5px;box-shadow: 0px 0px 5px black;padding: 0px 5px;width: -webkit-fill-available;"></meter> <p><b>Note:</b>Value represents the range in meters. When we add value to numbers, we have to specify the maximum value number. But when we add a value to a percentage, we do not need to specify the maximum value because the system knows that the percentage means out of 100.</p>
Rang by Percentage Value
Rang by Max-Min Value
Note:Value represents the range in meters. When we add value to numbers, we have to specify the maximum value number. But when we add a value to a percentage, we do not need to specify the maximum value because the system knows that the percentage means out of 100.
- <nav>
<nav>
tag is used to create navigation menu or navigation bar
in document.
<nav> <a href="/search?q=html/">HTML</a> | <a href="/search?q=css/">CSS</a> |<a href="/search?q=JavaScript/">JavaScript</a></nav>
- <noscript>
<noscript>
tag is only used to show a message to the user when the user's browser
does not support JavaScript (JavaScript) or when JavaScript is disabled
in the user's browser.
<p>Browser disabling JavaScript will display text inside the NoScript element ("Hello User!" Will not be displayed).</p> <script> document.write("Hello User!"); </script> <noscript>Sorry, your browser does not support JavaScript!</noscript>
Browser disabling JavaScript will display text inside the NoScript element ("Hello User!" Will not be displayed).
Hello User!- <select>, <optgroup> & <option>
<select>, <optgroup> & <option>
tags are used to make a drop-down menu for a large
number of options. <select>
make a drop-down menu (selector),
<optgroup>
make a group of related options while
<option>
tag print the options.
<select id="menu"> <optgroup label="HTML"> <option>HTML Basic</option> <option>HTML Moderate</option> <option>HTML Advance</option> </optgroup> <optgroup label="CSS"> <option>CSS Basic</option> <option>CSS Moderate</option> <option>CSS Advance</option> </optgroup> <optgroup label="JavaScript"> <option>JavaScript Basic</option> <option>JavaScript Moderate</option> <option>JavaScript Advance</option> </optgroup> </select>
- <output>
<output>
tag is used to indicate the output of any action.
In other words, The
<output>
tag is used to represent the result of the calculation
(as is done through the script).
<input oninput="showoutput()" type="range" value="0" id="rangbar"> <br> <span>Output - </span> <output id="outputbox">0</output> <span> - Increase or decrease the Range to show value here!</span> <script> function showoutput() { let rang = document.querySelector('#rangbar'); let output = document.querySelector('#outputbox'); output.value = parseInt(rang.value); } </script>
Output - - Increase or decrease the Range to show value here!
- <progress>
<progress>
tag is used to shows the progress in a bar.
<h3>45% (45 out of 100)</h3> <progress value="45" max="100"></progress>
45% (45 out of 100)
- <span>
<span>
tag is used to style any part of text, it is one
of the very important tag of html. Span tags do not
affect the normal view of an element, we can style a single
digit of a word. Span tags do not add any space or new
lines.
<h2>Hello</h2> <h2> <span style="color: red;">H</span><span style="color: black;">e</span><span style="color: green;">l</span><span style="color: blue;">l</span><span style="color: chocolate;">l</span> </h2>
Hello
Hello
- <table>
<table> <tr> <th>Name</th> <th>Age</th> <th>Salary</th> </tr> <tr> <td>Ali</td> <td>18</td> <td>$500</td> </tr> <tr> <td>John</td> <td>28</td> <td>$400</td> </tr> </table>
Name | Age | Salary |
---|---|---|
Ali | 18 | $500 |
John | 28 | $400 |
- <textarea>
<textarea style="width: -webkit-fill-available;height: 80px;"> <h1>Welcome to Mod Letslearnlights.</h1> Welcome to Mod Letslearnlights. X Y Z </textarea>
- <u>
<p>This is an <u>underline</u> text.</p>
3 Comments