HTMLì ììë¤ì í¹ì±ì ê°ì§ê³ ììµëë¤. í¹ì±ì ì¬ì©ìê° ìíë 기ì¤ì ë§ëë¡ ìì를 ì¤ì íê±°ë ë¤ìí ë°©ìì¼ë¡ ììì ëìì ì¡°ì í기 ìí ê°ì ë§í©ëë¤.
í¹ì± ëª©ë¡ í¹ì± ì´ë¦ ìì ì¤ëªaccept
<form>
, <input>
ìë²ìì íì©íë ì íì 목ë¡. ë³´íµ íì¼ ì íì ì미í©ëë¤. accept-charset
<form>
ì§ìíë 문ì ì§í©ì 목ë¡. accesskey
ì ì í¹ì± í´ë¹ ììë¡ ì´ì ì ì´ëìí¤ê±°ë íì±íìí¤ê¸° ìí í¤ë³´ë ë¨ì¶í¤ë¥¼ ì ìí©ëë¤. action
<form>
í¼(form)ì¼ë¡ë¶í° ì ì¡ë ì 보를 ì²ë¦¬í íë¡ê·¸ë¨ì URIì
ëë¤. align
<applet>
, <caption>
, <col>
, <colgroup>
, <hr>
, <iframe>
, <img>
, <table>
, <tbody>
, <td>
, <tfoot>
, <th>
, <thead>
, <tr>
í´ë¹ ììì ê°ë¡ ì ë ¬ ë°©ìì ëª
ìí©ëë¤. allow
<iframe>
Specifies a feature-policy for the iframe. alt
<applet>
, <area>
, <img>
, <input>
ì´ë¯¸ì§ë¥¼ íìí ì ìë ê²½ì° íìí ëì²´ 문구ì
ëë¤. async
<script>
í´ë¹ ì¤í¬ë¦½í¸ë ë¹ë기ì ì¼ë¡ ì¤íëì´ì¼í¨ì ëíë
ëë¤. autocapitalize
ì ì í¹ì± ì¬ì©ìê° ì
ë ¥íê±°ë í¸ì§íë 문구를 ìëì¼ë¡ ë문ìë¡ ë°ê¿ì§ ì¬ë¶ì ë°©ë²ì ì ì´í©ëë¤. autocomplete
<form>
, <input>
, <textarea>
ì´ í¼ ë´ì 컨í¸ë¡¤ì ëí´ ë¸ë¼ì°ì ê° ì§ìíë ê° ìëìì± ê¸°ë¥ì 기본ì¼ë¡ ì¤ì í ê²ì¸ì§ë¥¼ ëíë
ëë¤. autofocus
<button>
, <input>
, <select>
, <textarea>
íì´ì§ê° ë¡ëë í ìëì¼ë¡ í´ë¹ ììë¡ ì´ì ì´ ì´ëí©ëë¤. autoplay
<audio>
, <video>
ì¤ëì¤ë ë¹ëì¤ê° ê°ë¥í ë¹ ë¥¸ ìì ì ì¬ìë©ëë¤. background
<body>
, <table>
, <td>
, <th>
Specifies the URL of an image file. Note:
Although browsers and email clients may still support this attribute, it is obsolete. Use CSS
background-image
instead.
bgcolor
<body>
, <col>
, <colgroup>
, <marquee>
, <table>
, <tbody>
, <tfoot>
, <td>
, <th>
, <tr>
ììì ë°°ê²½ìì ëë¤.
주: ì´ ìì±ì ë ì´ì ì¬ì©íì§ ììµëë¤. CSSì background-color
ìì±ì ëì ì¬ì©íì기 ë°ëëë¤.
border
<img>
, <object>
, <table>
ì ì 굵기ì ëë¤.
주: ì´ ìì±ì ë ì´ì ì¬ì©íì§ ììµëë¤. CSSì border
ìì±ì ëì ì¬ì©íì기 ë°ëëë¤.
buffered
<audio>
, <video>
ì´ë¯¸ ë²í¼ë§ë 미ëì´ì ìê° ë²ì를 ê°ì§ëë¤. capture
<input>
From the media capture spec, specifies a new file can be captured. charset
<meta>
, <script>
íì´ì§ ëë ì¤í¬ë¦½í¸ì 문ì ì¸ì½ë©ì ì ì¸í©ëë¤. checked
<command>
, <input>
íì´ì§ê° ë¡ë©ë ë, í´ë¹ ììê° ì²´í¬ëì´ ìì´ì¼íëì§ë¥¼ ëíë
ëë¤. cite
<blockquote>
, <del>
, <ins>
, <q>
ë³ê²½ ëë ì¸ì©êµ¬ë¬¸ì ì¶ì²ë¥¼ ê°ë¦¬í¤ë URI를 ê°ì§ëë¤. class
ì ì í¹ì± ê³µíµì ì¸ ìì±ì¼ë¡ ììì ì¤íì¼ì ì§ì í ë CSSì í¨ê» ì주 ì¬ì©ë©ëë¤. code
<applet>
ë¡ë© í ì¤íí ì í릿ì í´ëì¤ íì¼ì URLì ëª
ìí©ëë¤. codebase
<applet>
ì´ ìì±ì ì½ë(code) ìì±ì´ 참조íë ì í릿ì .class íì¼ì´ ì ì¥ëì´ ìë ëë í 리ì ì ëê²½ë¡ ëë ìëê²½ë¡ URLì ì ê³µí©ëë¤. color
<basefont>
, <font>
, <hr>
ì´ ìì±ì 미리 ì ìë ìì ëª ì¹ ëë #RRGGBB íìì 16ì§ìë¡ ëª ìë ììì¼ë¡ í ì¤í¸ ììì ì¤ì íë¤.
주: ì´ ìì±ì ë ì´ì ì¬ì©íì§ ììµëë¤. CSSì color
ìì±ì ëì ì¬ì©íì기 ë°ëëë¤.
cols
<textarea>
textareaì íìí 컬ë¼ì ì를 ì ìíë¤. colspan
<td>
, <th>
colspan ìì±ì ì´ë¤ ì
ì´ íì¥ëì´ì¼ í 컬ë¼ì ì를 ì ìíë¤. content
<meta>
A value associated with http-equiv
or name
depending on the context. contenteditable
ì ì í¹ì± Indicates whether the element's content is editable. contextmenu
ì ì í¹ì± Defines the ID of a <menu>
element which will serve as the element's context menu. controls
<audio>
, <video>
Indicates whether the browser should show playback controls to the user. coords
<area>
A set of values specifying the coordinates of the hot-spot region. crossorigin
<audio>
, <img>
, <link>
, <script>
, <video>
How the element handles cross-origin requests csp
Experimental <iframe>
Specifies the Content Security Policy that an embedded document must agree to enforce upon itself. data
<object>
Specifies the URL of the resource. data-*
ì ì í¹ì± Lets you attach custom attributes to an HTML element. datetime
<del>
, <ins>
, <time>
Indicates the date and time associated with the element. decoding
<img>
Indicates the preferred method to decode the image. default
<track>
Indicates that the track should be enabled unless the user's preferences indicate something different. defer
<script>
Indicates that the script should be executed after the page has been parsed. dir
ì ì í¹ì± Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) dirname
<input>
, <textarea>
disabled
<button>
, <command>
, <fieldset>
, <input>
, <optgroup>
, <option>
, <select>
, <textarea>
Indicates whether the user can interact with the element. download
<a>
, <area>
Indicates that the hyperlink is to be used for downloading a resource. draggable
ì ì í¹ì± Defines whether the element can be dragged. dropzone
ì ì í¹ì± Indicates that the element accept the dropping of content on it. enctype
<form>
Defines the content type of the form date when the method
is POST. enterkeyhint
Experimental <textarea>
, contenteditable
The enterkeyhint
specifies what action label (or icon) to present for the enter key on virtual keyboards. The attribute can be used with form controls (such as the value of textarea
elements), or in elements in an editing host (e.g., using contenteditable
attribute). for
<label>
, <output>
Describes elements which belongs to this one. form
<button>
, <fieldset>
, <input>
, <label>
, <meter>
, <object>
, <output>
, <progress>
, <select>
, <textarea>
Indicates the form that is the owner of the element. formaction
<input>
, <button>
Indicates the action of the element, overriding the action defined in the <form>
. formenctype
<button>
, <input>
If the button/input is a submit button (type="submit"
), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides the enctype
attribute of the button's form owner. formmethod
<button>
, <input>
If the button/input is a submit button (type="submit"
), this attribute sets the submission method to use during form submission (GET
, POST
, etc.). If this attribute is specified, it overrides the method
attribute of the button's form owner. formnovalidate
<button>
, <input>
If the button/input is a submit button (type="submit"
), this boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the novalidate
attribute of the button's form owner. formtarget
<button>
, <input>
If the button/input is a submit button (type="submit"
), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received after submitting the form. If this attribute is specified, it overrides the target
attribute of the button's form owner. headers
<td>
, <th>
IDs of the <th>
elements which applies to this element. height
<canvas>
, <embed>
, <iframe>
, <img>
, <input>
, <object>
, <video>
Specifies the height of elements listed here. For all other elements, use the CSS height
property.
Note: In some instances, such as <div>
, this is a legacy attribute, in which case the CSS height
property should be used instead.
hidden
ì ì í¹ì± Prevents rendering of given element, while keeping child elements, e.g. script elements, active. high
<meter>
Indicates the lower bound of the upper range. href
<a>
, <area>
, <base>
, <link>
ë§í¬ë 리ìì¤ì URL hreflang
<a>
, <area>
, <link>
ë§í¬ë 리ìì¤ì ì¸ì´ë¥¼ ëíë http-equiv
<meta>
icon
<command>
Specifies a picture which represents the command. id
ì ì í¹ì± ì¼ë°ì ì¼ë¡, í¹ì í ìì를 ì¤íì¼í기 ìí´ CSSì í¨ê¼ ì¬ì©ë¨. ì´ ìì±ì ê°ì ì ì¼í´ì¼í¨. importance
Experimental <iframe>
, <img>
, <link>
, <script>
Indicates the relative fetch priority for the resource. integrity
<link>
, <script>
Specifies a Subresource Integrity value that allows browsers to verify what they fetch. intrinsicsize
ì§ìì´ ì¤ë¨ëììµëë¤ <img>
This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it's the size specified in the attribute. inputmode
<textarea>
, contenteditable
Provides a hint as to the type of data that might be entered by the user while editing the element or its contents. The attribute can be used with form controls (such as the value of textarea
elements), or in elements in an editing host (e.g., using contenteditable
attribute). ismap
<img>
Indicates that the image is part of a server-side image map. itemprop
ì ì í¹ì± kind
<track>
Specifies the kind of text track. label
<track>
Specifies a user-readable title of the text track. lang
ì ì í¹ì± ìììì ì¬ì©ë ì¸ì´ë¥¼ ì ìí©ëë¤. language
<script>
ìììì ì¬ì©ë ì¤í¬ë¦½í¸ ì¸ì´ë¥¼ ì ìí©ëë¤. list
<input>
Identifies a list of pre-defined options to suggest to the user. loading
Experimental <img>
, <iframe>
Indicates if the element should be loaded lazily (loading="lazy"
) or loaded immediately (loading="eager"
). list
<input>
Identifies a list of pre-defined options to suggest to the user. loop
<audio>
, <bgsound>
, <marquee>
, <video>
미ëì´ê° ì¬ìì ìë£íìë ë¤ì ì¬ìì ììí´ì¼í ì§ë¥¼ ëíë
ëë¤. low
<meter>
Indicates the upper bound of the lower range. manifest
<html>
문ìì ìºì 매ëíì¤í¸ì URLì ê°ë¦¬íµëë¤. max
<input>
, <meter>
, <progress>
íì©ëë ìµë ê°ì ëíë
ëë¤. maxlength
<input>
, <textarea>
ììì íì©ëë 문ìì ìµë 길ì´ë¥¼ ëíë
ëë¤. minlength
<input>
, <textarea>
Defines the minimum number of characters allowed in the element. media
<a>
, <area>
, <link>
, <source>
, <style>
Specifies a hint of the media for which the linked resource was designed. method
<form>
í¼ì ì ì¶í ë ì¬ì©í HTTP ë©ìë를 ì ìí¨. GET(기본ê°) ëë POST ê° ë ì ìì. min
<input>
, <meter>
íì©ëë ìµì ê°ì ëíë. multiple
<input>
, <select>
Indicates whether multiple values can be entered in an input of the type email
or file
. muted
<audio>
, <video>
Indicates whether the audio will be initially silenced on page load. name
<button>
, <form>
, <fieldset>
, <iframe>
, <input>
, <object>
, <output>
, <select>
, <textarea>
, <map>
, <meta>
, <param>
ììì ì´ë¦. For example used by the server to identify the fields in form submits. novalidate
<form>
This attribute indicates that the form shouldn't be validated when submitted. open
<details>
Indicates whether the details will be shown on page load. optimum
<meter>
Indicates the optimal numeric value. pattern
<input>
Defines a regular expression which the element's value will be validated against. ping
<a>
, <area>
placeholder
<input>
, <textarea>
íëì 무ìì´ ë¤ì´ê°ì ìëì§ ì¬ì©ììê² íí¸ë¥¼ ì ê³µí©ëë¤. poster
<video>
A URL indicating a poster frame to show until the user plays or seeks. preload
<audio>
, <video>
ì ì²´,ë¶ë¶,ëë ìë¬´ë° ë¦¬ìì¤ê° 미리 ë¡ëëì´ì¼íëì§ë¥¼ ëíë
ëë¤. radiogroup
<command>
readonly
<input>
, <textarea>
ììê° ìì ë ì ìëì§ë¥¼ ëíë
ëë¤. rel
<a>
, <area>
, <link>
Specifies the relationship of the target object to the link object. required
<input>
, <select>
, <textarea>
ì´ ììê° ì±ìì ¸ì¼ íëì§ë¥¼ ëíë
ëë¤. reversed
<ol>
Indicates whether the list should be displayed in a descending order instead of a ascending. rows
<textarea>
textareaì ì¤ ê°ì를 ì ìí©ëë¤. rowspan
<td>
, <th>
Defines the number of rows a table cell should span over. sandbox
<iframe>
scope
<th>
scoped
<style>
selected
<option>
Defines a value which will be selected on page load. shape
<a>
, <area>
size
<input>
, <select>
Defines the width of the element (in pixels). If the element's type
attribute is text
or password
then it's the number of characters. sizes
<link>
slot
ì ì í¹ì± Assigns a slot in a shadow DOM shadow tree to an element. span
<col>
, <colgroup>
spellcheck
ì ì í¹ì± Indicates whether spell checking is allowed for the element. src
<audio>
, <embed>
, <iframe>
, <img>
, <input>
, <script>
, <source>
, <track>
, <video>
ë´ì¥ 컨í
ì¸ ì URL srcdoc
<iframe>
srclang
<track>
srcset
<img>
start
<ol>
Defines the first number if other than 1. step
<input>
style
ì ì í¹ì± ì´ì ì¤íì¼ì ì¤ë²ë¼ì´ëí CSS ì¤íì¼ì ì ìí¨. summary
<table>
tabindex
ì ì í¹ì± Overrides the browser's default tab order and follows the one specified instead. target
<a>
, <area>
, <base>
, <form>
title
ì ì í¹ì± ìì ìì í¸ë²ë§íìë íìë í´íì í
ì¤í¸ translate
ì ì í¹ì± Specify whether an element's attribute values and the values of its Text
node children are to be translated when the page is localized, or whether to leave them unchanged. type
<button>
, <input>
, <command>
, <embed>
, <object>
, <script>
, <source>
, <style>
, <menu>
ììì íì
ì ì ìí¨ usemap
<img>
, <input>
, <object>
value
<button>
, <option>
, <input>
, <li>
, <meter>
, <progress>
, <param>
íì´ì§ê° ë¡ëëë¤ ììì íìë 기본ê°ì ì§ì í©ëë¤. width
<canvas>
, <embed>
, <iframe>
, <img>
, <input>
, <object>
, <video>
Note: In some instances, such as <div>
, this is a legacy attribute, in which case the CSS width
property should be used instead. In other cases, such as <canvas>
, the width must be specified with this attribute. wrap
<textarea>
Indicates whether the text should be wrapped. Content versus IDL attributes
In HTML, most attributes have two faces: the content attribute and the IDL attribute.
The content attribute is the attribute as you set it from the content (the HTML code) and you can set it or get it via element.setAttribute()
or element.getAttribute()
. The content attribute is always a string even when the expected value should be an integer. For example, to set an <input>
element's maxlength
to 42 using the content attribute, you have to call setAttribute("maxlength", "42")
on that element.
The IDL attribute is also known as a JavaScript property. These are the attributes you can read or set using JavaScript properties like element.foo
. The IDL attribute is always going to use (but might transform) the underlying content attribute to return a value when you get it and is going to save something in the content attribute when you set it. In other words, the IDL attributes, in essence, reflect the content attributes.
Most of the time, IDL attributes will return their values as they are really used. For example, the default type
for <input>
elements is "text", so if you set input.type="foobar"
, the <input>
element will be of type text (in the appearance and the behavior) but the "type" content attribute's value will be "foobar". However, the type
IDL attribute will return the string "text".
IDL attributes are not always strings; for example, input.maxlength
is a number (a signed long). When using IDL attributes, you read or set values of the desired type, so input.maxlength
is always going to return a number and when you set input.maxlength
,it wants a number. If you pass another type, it is automatically converted to a number as specified by the standard JavaScript rules for type conversion.
IDL attributes can reflect other types such as unsigned long, URLs, booleans, etc. Unfortunately, there are no clear rules and the way IDL attributes behave in conjunction with their corresponding content attributes depends on the attribute. Most of the time, it will follow the rules laid out in the specification, but sometimes it doesn't. HTML specifications try to make this as developer-friendly as possible, but for various reasons (mostly historical), some attributes behave oddly (select.size
, for example) and you should read the specifications to understand how exactly they behave.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4