×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
align
attribute is removed from p
elementAlt
attribute is necessary for element img
<fieldset>
tag should contain legend
tag in order the fieldbox to have title
<form action="/action_page.php">
<fieldset>
<legend>Personalia:</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>
</fieldset>
</form>
<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">