×
Clear all filters including search bar
Valeri Tandilashvili's HTML Notes
<input type="number" min="5" max="10">
min
and max
attributes are used to define minimum and maximum values for the number input<textarea rows="30" cols="80"></textarea>
rows
is attribute to define height of the textarea and cols
- for defining width<label for="inputID">some title</label><input type="text" id="inputID" size="50">
label
attribute for
and input
attribute id
should be the same to tie these two elements together<input type="text" size="50">
this means the input will have enough width for 50 characters<h2 id="C4">Chapter 4</h2> and then there are two ways to create a link to the bookmark:
1. <h1 href="#C4">Jump to Chapter 4</h1>
2. <a name="#C4">Jump to Chapter 4</a>
<meta>
with name
and content
attributes contains meta information of the web page.
These are commonly used meta names:
description
,
author
,
keywords
,
viewport
,..
Example of author
meta tag
<meta name="author" content="Mike">
frameborder="0"
gives zero width border to <iframe>
<caption>
goes inside <thead>
and is title of the table. The title is centered horizontally. caption
is above the first tr
<table>
<caption>Monthly savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</table>
1
Possible values for the attribute are: 1
, A
, a
, I
, i
- More secure
- Faster
- Stores a larger amount of data
- Stored data is not sent with every server request
Note: Local storage is per domain. All pages from one domain can store and access the same data.