Lompat ke konten Lompat ke sidebar Lompat ke footer

HTML Tags

image source : https://www.lynda.com/HTML-tutorials/HTML-Essential-Training/170427-2.html




Basic HTML

Tags
Description
<!DOCTYPE>
<html>
<head>
<title>
<body>
<h1> to <h6>
<p>
<br>
<hr>
<!--...-->
Defines the document type
Defines an HTML document
Defines information about the document
Defines a title for the document
Defines the document's body
Defines HTML headings
Defines a paragraph
Inserts a single line break
Defines a thematic change in the content
Defines a comment


Formatting
 
Tags
Description
<acronym>
<abbr>
<address>
<b>
<bdi>

<bdo>
<big>
<blockquote> 
<center>
<cite>
<code>
<del>
<dfn>
<em>
<font>
<i>
<ins>
<kbd>
<mark>
<meter>
<pre>
<progress>
<q>
<rp>

<rt>
<ruby>
<s>
<samp>
<small>
<strike>
<strong>
<sub>
<sup>
<template>
<time>
<tt> 
<u>
<var>
<wbr>
Not supported in HTML5. Use <abbr> instead.
Defines an abbreviation or an acronym
Defines information for the author of a document/article
Defines bold text
Isolates a part of text that might be formatted in a different direction from other text outside it
Overrides the current text direction
Not supported in HTML5. Use CSS instead.
Defines a section that is quoted from another source
Not supported in HTML5. Use CSS instead.
Defines the title of a work
Defines a piece of computer code
Defines text that has been deleted from a document
Represents the defining instance of a term
Defines emphasized text
Not supported in HTML5. Use CSS instead.
Defines a part of text in an alternate voice or mood
Defines a text that has been inserted into a document
Defines keyboard input
Defines marked/highlighted text
Defines a scalar measurement within a known range
Defines preformatted text
Represents the progress of a task
Defines a short quotation
Defines what to show in browsers that do not support ruby annotations
Pronunciation of characters (for East Asian typography)
Defines a ruby annotation (for East Asian typography)
Defines text that is no longer correct
Defines sample output from a computer program
Defines smaller text
Not supported in HTML5. Use <del> or <s> instead.
Defines important text
Defines subscripted text
Defines superscripted text
Defines a template
Defines a date/time
Not supported in HTML5. Use CSS instead.
Text that should be stylistically different from normal text
Defines a variable
Defines a possible line break


Form & Input
 
Tags
Description
<form>
<input>
<textarea>
<button>
<select>
<optgroup>
<option>
<label>
<fieldset>
<legend>
<datalist>
<output>
Defines an HTML form for user input
Defines an input control
Defines a multiline input control (text area)
Defines a clickable button
Defines a drop-down list
Defines a group of related options in a drop-down list
Defines an option in a drop-down list
Defines a label for an <input> element
Groups related elements in a form
Defines a caption for a <fieldset> element
Specifies a list of pre-defined options for input controls
Defines the result of a calculation


Table

Tags
Description
<table>
<caption>
<th>
<tr>
<td>
<thead>
<tbody>
<tfoot>
<col>
<colgroup> 

Defines a table
Defines a table caption
Defines a header cell in a table
Defines a row in a table
Defines a cell in a table
Groups the header content in a table
Groups the body content in a table
Groups the footer content in a table
Specifies column properties for each column within a element
Specifies a group of one or more columns in a table for formatting


Image

Tags Description
<img>
<map>
<area>
<canvas>
<figcaption> 
<figure> 
<picture>
<svg>
Defines an image
Defines a client-side image-map
Defines an area inside an image-map
Used to draw graphics, on the fly, via scripting 
Defines a caption for a <figure> element
Specifies self-contained content
Defines a container for multiple image resources
Defines a container for SVG graphics


List

Tags Description
<ul>
<ol>
<li>
<dir>  

<dl>
<dt>
<dd>
Defines an unordered list
Defines an ordered list
Defines a list item
Not supported in HTML5. Use <ul> instead.
Defines a directory list
Defines a description list
Defines a term/name in a description list
Defines a description of a term/name in a description list


Links

Tags Description
<a> 
<link>

<nav>  
Defines a hyperlink
Defines the relationship between a document and an external resource (most used to link to style sheets)
Defines navigation links


Audio/Video

Tags Description
<audio>
<source>  

<track>
<video>  
Defines sound content
Defines multiple media resources for media elements (<video>, <audio> and <picture>)
Defines text tracks for media elements (<video> and <audio>)
Defines a video or movie


Style & Semantics

Tags Description
<style>
<div>
<span>
<header> 
<footer>
<main> 
<section>
<article>
<aside> 
<details> 
<dialog> 
<summary>   
<data> 
Defines style information for a document
Defines a section in a document
Defines a section in a document
Defines a header for a document or section
Defines a footer for a document or section
Specifies the main content of a document
Defines a section in a document
Defines an article
Defines content aside from the page content
Defines additional details that the user can view or hide
Defines a dialog box or window
Defines a visible heading for a <details> element
Links the given content with a machine-readable translation


Meta Info

Tags Description
<head>
<meta>
<base>

<basefont>  

Defines information about the document
Defines metadata about an HTML document
Specifies the base URL/target for all relative URLs in a document
Not supported in HTML5. Use CSS instead.
Specifies a default color, size, and font for all text in a document


Programming

Tags Description
<script>
<noscript>  

<applet>

<embed>
<object>
<param>
Defines a client-side script
Defines an alternate content for users that do not support client-side scripts
Not supported in HTML5. Use <embed> or <object> instead.
Defines an embedded applet
Defines a container for an external (non-HTML) application
Defines an embedded object
Defines a parameter for an object





Posting Komentar untuk "HTML Tags"