HTML Notes
HTML Notes
HTML Notes
HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages.
• Hypertext refers to the way in which Web pages (HTML documents) are
linked together. Thus, the link available on a webpage is called Hypertext.
• As its name suggests, HTML is a Markup Language which means you use
HTML to simply "mark-up" a text document with tags that tell a Web browser
how to structure it to display.
Originally, HTML was developed with the intent of defining the structure of
documents like headings, paragraphs, lists, and so forth to facilitate the sharing of
scientific information between researchers.
Now, HTML is being widely used to format web pages with the help of different tags
available in HTML language.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>This is a heading</h1>
</body>
</html>
HTML Basic Tags
As told earlier, HTML is a markup language and makes use of various tags to
format the content. These tags are enclosed within angle braces <Tag Name>.
Except few tags, most of the tags have their corresponding closing tags. For
example, <html> has its closing tag</html> and <body> tag has its closing tag
</body> tag etc.
Tag Description
<!DOCTYPE...> This tag defines the document type and HTML version.
This tag represents the document's header which can keep other
HTML
<head>
tags like <title>, <link> etc.
The <!DOCTYPE> declaration tag is used by the web browser to understand the
version of the HTML used in the document. Current version of HTML is 5 and it
makes use of the following declaration:
<!DOCTYPE html>
There are many other declaration types which can be used in HTML document
depending on what version of HTML is being used. We will see more details on this
while discussing <!DOCTYPE...> tag along with other HTML tags.
Heading Tags
Any document starts with a heading. You can use different sizes for your headings.
HTML also has six levels of headings, which use the elements <h1>, <h2>,
<h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one
line before and one line after that heading.
Example
<!DOCTYPE html>
<html>
<head>
<title>Heading Example</title>
</head>
<body>
</body>
</html>
Paragraph Tag
The <p> tag offers a way to structure your text into different paragraphs. Each
paragraph of text should go in between an opening <p> and a closing </p> tag as
shown below in the example:
Example
<!DOCTYPE html>
<html>
<head>
<title>Paragraph Example</title>
</head>
<body>
</body>
</html>
Line Break Tag
Whenever you use the <br /> element, anything following it starts from the next
line. This tag is an example of an empty element, where you do not need opening
and closing tags, as there is nothing to go in between them.
The <br /> tag has a space between the characters br and the forward slash. If
you omit this space, older browsers will have trouble rendering the line break, while
if you miss the forward slash character and just use <br> it is not valid in XHTML.
Centering Content
You can use <center> tag to put any content in the center of the page or any
table cell.
Horizontal Lines
Horizontal lines are used to visually break-up sections of a document. The <hr>
tag creates a line from the current position in the document to the right margin and
breaks the line accordingly.
Nonbreaking Spaces
Suppose you want to use the phrase "12 Angry Men." Here, you would not want a
browser to split the "12, Angry" and "Men" across two lines:
In cases, where you do not want the client browser to break text, you should use a
nonbreaking space entity instead of a normal space. For example, when
coding the "12 Angry Men" in a paragraph, you should use something similar to
this.
<br />
For example, <p> is starting tag of a paragraph and </p> is closing tag of the
same paragraph but <p>This is paragraph</p> is a paragraph element.
HTML ATTRIBUTES
We have seen few HTML tags and their usage like heading tags <h1>, <h2>,
paragraph tag <p> and other tags. We used them so far in their simplest form, but
most of the HTML tags can also have attributes, which are extra bits of information.
An attribute is used to define the characteristics of an HTML element and is placed inside the
element's opening tag. All attributes are made up of two parts: a name and a value:
• The name is the property you want to set. For example, the paragraph <p>
element in the example carries an attribute whose name is align, which you
can use to indicate the alignment of paragraph on the page.
• The value is what you want the value of the property to be set and always
put within quotations. The below example shows three possible values of
align attribute: left, center and right.
Example
<!DOCTYPE html>
<html>
<head>
<title>Align AttributeExample</title>
</head>
<body>
</body>
</html>
Core Attributes
The four core attributes that can be used on the majority of HTML elements
(although not all) are:
• Id
• Title
• Class
• Style
The Id Attribute
The id attribute of an HTML tag can be used to uniquely identify any element within
an HTML page. There are two primary reasons that you might want to use an id
attribute on an element:
Example
The behavior of this attribute will depend upon the element that carries it, although
it is often displayed as a tooltip when cursor comes over the element or while the
element is loading.
The class attribute is used to associate an element with a style sheet, and specifies
the class of element. You will learn more about the use of the class attribute when
you will learn Cascading Style Sheet (CSS). So for now you can avoid it.
The value of the attribute may also be a space-separated list of class names. For example:
The style attribute allows you to specify Cascading Style Sheet (CSS) rules within
the element.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
At this point of time, we are not learning CSS, so just let's proceed without
bothering much about CSS. Here, you need to understand what are HTML
attributes and how they can be used while formatting content.
Generic Attributes
Here's a table of some other attributes that are readily usable with many of the HTML tags.
element.
numeric, hexidecimal,
bgcolor RGB Places a background color behind an
values Element
Element
Style Sheets.
Style Sheets.
HTML FORMATING
If you use a word processor, you must be familiar with the ability to make text
bold, italicized, or underlined; these are just three of the ten options available to
indicate how text can appear in HTML and XHTML.
Bold Text
Underlined Text
Strike Text
Superscript Text
Subscript Text
Larger Text
The content of the <big>...</big> element is displayed one font size larger than
the rest of the text surrounding it as shown below:
Smaller Text
The content of the <small>...</small> element is displayed one font size smaller
than the rest of the text surrounding it as shown below:
Grouping Content
The <div> and <span> elements allow you to group together several elements to
create sections or subsections of a page.
For example, you might want to put all of the footnotes on a page within a <div>
element to indicate that all of the elements within that <div> element relate to the
footnotes. You might then attach a style to this <div> element so that they appear
using a special set of style rules.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a href="/index.htm">HOME</a> |
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
PHRASE TAGS
The phrase tags have been desicolgned for specific purposes, though they are
displayed in a similar way as other basic tags like <b>, <i>, <pre>, and <tt>,
you have seen in previous chapter. This chapter will take you through all the
important phrase tags, so let's start seeing them one by one.
Emphasized Text
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body></html>
This will produce the following result:
Marked Text
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Strong Text
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
You can abbreviate a text by putting it inside opening <abbr> and closing </abbr>
tags.
If present, the title attribute must contain this full description and nothing else.
Example
<!DOCTYPE html>
<html>
<head>
<title>Text Abbreviation</title>
</head>
<body>
</body>
Computer Code
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
When you are talking about computers, if you want to tell a reader to enter some
text, you can use the <kbd>...</kbd> element to indicate what should be typed
in, as in this example.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
Address Text
Example
<!DOCTYPE html>
<html>
<head>
<title>Address Example</title>
</head>
<body>
</body></html>
This will produce the following result:
388A, Road No 22, Jubilee Hills - Hyderabad
Insert Image
You can insert any image in your web page by using <img> tag. Following is the
simple syntax to use this tag.
The <img> tag is an empty tag, which means that, it can contain only list of
attributes and it has no closing tag.
TABLES
HTML tables allow web authors to arrange data like text, images, links, other
tables, etc. into rows and columns of cells.
The HTML tables are created using the <table> tag in which the <tr> tag is used
to create table rows and <td> tag is used to create data cells.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables</title>
</head>
<body>
<table border="1">
<tr>
</tr>
<tr>
Table Heading
Table heading can be defined using <th> tag. This tag will be put to replace <td>
tag, which is used to represent actual data cell. Normally you will put your top row
as table heading as shown below, otherwise you can use <th> element in any row.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table border="1">
<tr>
<th>Name</th>
<th>Salary</th>
</tr>
<tr>
<td>Ramesh Raman</td>
<td>5000</td>
</tr>
<tr>
<td>Shabbir Hussein</td>
<td>7000</td>
</tr>
</table>
</body></html>
Cellpadding and Cellspacing Attributes
There are two attributes called cellpadding and cellspacing which you will use to
adjust the white space in your table cells. The cellspacing attribute defines the
width of the border, while cellpadding represents the distance between cell borders
and the content within a cell.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<tr>
<th>Name</th>
<th>Salary</th>
</tr>
<tr>
<td>Ramesh Raman</td>
<td>5000</td>
</tr>
<tr>
<td>Shabbir Hussein</td>
<td>7000</td>
</tr>
</table>
</body></html>
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table border="1">
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
</table>
</body>
</html>
Tables Backgrounds
You can set table background using one of the following two ways:
• bgcolor attribute - You can set background color for whole table or just for
one cell.
• background attribute - You can set background image for whole table or
just for one cell.
You can also set border color also using bordercolor attribute.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
</table>
</body>
</html>
You can set a table width and height using width and height attributes. You can specify table
width or height in terms of pixels or in terms of percentage of available screen area.
<!DOCTYPE html>
<html>
<head>
<body>
The caption tag will serve as a title or explanation for the table and it shows up at
the top of the table. This tag is deprecated in newer version of HTML/XHTML.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Table Caption</title>
</head>
<body>
<table border="1" width="100%">
<caption>This is the caption</caption>
Tables can be divided into three portions: a header, a body, and a foot. The head
and foot are rather similar to headers and footers in a word-processed document
that remain the same for every page, while the body is the main content holder of
the table.
The three elements for separating the head, body, and foot of a table are:
<!DOCTYPE html>
<html>
<head>
<title>HTML Table</title>
</head>
<body>
<thead>
<tr>
</tr>
</thead>
<tfoot>
<tr>
<tbody>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</tbody>
</table>
</body></html>
LISTS
HTML offers web authors three ways for specifying lists of information. All lists must
contain one or more list elements. Lists may contain:
• <ul> - An unordered list. This will list items using plain bullets.
• <ol> - An ordered list. This will use different schemes of numbers to list
your items.
• <dl> - A definition list. This arranges your items in the same way as they
are arranged in a dictionary.
This list is created by using HTML <ul> tag. Each item in the list is marked with a
bullet.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
• Beetroot
• Ginger
• Potato
• Radish
The type Attribute
You can use type attribute for <ul> tag to specify the type of bullet you like. By
default, it is a disc. Following are the possible options:
<ul type="square">
<ul type="disc">
<ul type="circle">
Example
Following is an example where we used <ul type="square">
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<ul type="square">
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</body>
</html>
• Beetroot
• Ginger
• Potato
• Radish
HTML Ordered Lists
If you are required to put your items in a numbered list instead of bulleted, then HTML ordered
list will be used. This list is created by using <ol> tag. The numbering starts at one and is
incremented by one for each successive ordered list element tagged with <li>.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<ol>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ol>
</body></html>
You can use type attribute for <ol> tag to specify the type of numbering you like.
By default, it is a number. Following are the possible options:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<ol type="1">
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ol>
</body>
</html>
You can use start attribute for <ol> tag to specify the starting point of numbering
you need. Following are the possible options:
<ol type="1"
start="4"> - Numerals starts with 4.
<ol type="I"
start="4"> - Numerals starts with IV.
<ol type="i"
start="4"> - Numerals starts with iv.
Letter starts
<ol type="a" start="4"> - s with d.
Letter starts
<ol type="A" start="4"> - s with D.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ol>
</body>
</html>
HTML and XHTML supports a list style which is called definition lists where entries
are listed like in a dictionary or encyclopedia. The definition list is the ideal way to
present a glossary, list of terms, or other name/value list.
• <dt> - A term
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl>
<dt><b>HTML</b></dt>
</dl>
</body>
</html>
HTTP
Linking Documents
A link is specified using HTML tag <a>. This tag is called anchor tag and anything
between the opening <a> tag and the closing </a> tag becomes part of the link
and a user can click that part to reach to the linked document. Following is the
simple syntax to use <a> tag.
<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
</body></html>
This will produce the following result, where you can click on the link generated to
reach to the home page of Google(in this example).
We have used target attribute in our previous example. This attribute is used to
specify the location where linked document is opened. Following are the possible
options:
Option Description
_top Opens the linked document in the full body of the window.
<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
</body>
</html>
This will produce the following result, where you can click on different links to
understand the difference between various options given for target attribute.
Block Elements
Block elements appear on the screen as if they have a line break before and after
them. For example, the <p>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <ul>,
<ol>, <dl>, <pre>, <hr />, <blockquote>, and <address> elements are all block
level elements. They all start on their own new line, and anything that follows them
appears on its own new line.
Inline Elements
Inline elements, on the other hand, can appear within sentences and do not have to
appear on a new line of their own. The <b>, <i>, <u>, <em>, <strong>, <sup>,
<sub>, <big>, <small>, <li>, <ins>, <del>, <code>, <cite>, <dfn>, <kbd>, and
<var> elements are all inline elements.
Grouping HTML Elements
There are two important tags which we use very frequently to group various other
HTML tags (i) <div> tag and (ii) <span> tag
This is the very important block level tag which plays a big role in grouping various
other HTML tags and applying CSS on group of elements. Even now <div> tag can
be used to create webpage layout where we define different parts (Left, Right, Top
etc.) of the page using <div> tag. This tag does not provide any visual change on
the block but this has more meaning when it is used with CSS.
Example
Following is a simple example of <div> tag. We will learn Cascading Style Sheet
(CSS) in a separate chapter but we used it here to show the usage of <div> tag:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div style="color:red">
<ul>
<li>Beetroot</li>
<li>Ginger</li>
<li>Potato</li>
<li>Radish</li>
</ul>
</div>
<div style="color:green">
<h4>This is second group</h4>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Mango</li>
<li>Strawberry</li>
</ul>
</div>
</body>
</html>
The HTML <span> is an inline element and it can be used to group inline-elements
in an HTML document. This tag also does not provide any visual change on the
block but has more meaning when it is used with CSS.
The difference between the <span> tag and the <div> tag is that the <span> tag
is used with inline elements whereas the <div> tag is used with block-level
elements.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</p>
</body>
</html>
Forms are required, when you want to collect some data from the site visitor. For example, during
user registration you would like to collect information such as name, email address, credit card, etc.
A form will take input from the site visitor and then will post it to a back-end application such as CGI,
ASP Script or PHP script etc. The back-end application will perform required processing on the
passed data based on defined business logic inside the application.
There are various form elements available like text fields, textarea fields, drop-down menus, radio
buttons, checkboxes, etc.
The HTML <form> tag is used to create an HTML form and it has following syntax:
</form>
Attribute Description
Method to be used to upload data. The most frequently used are GET
Method and
POST methods.
There are different types of form controls that you can use to collect data using
HTML form:
• Checkboxes Controls
• Radio Box Controls
• Select Box Controls
• File Select boxes
• Hidden Controls
• Clickable Buttons
• Submit and Reset Button
Text Input Controls
• Single-line text input controls - This control is used for items that require
only one line of user input, such as search boxes or names. They are created
using HTML <input> tag.
• Password input controls - This is also a single-line text input but it masks
the character as soon as a user enters it. They are also created using HTMl
<input> tag.
• Multi-line text input controls - This is used when the user is required to
give details that may be longer than a single sentence. Multi-line input
controls are created using HTML <textarea> tag.
This control is used for items that require only one line of user input, such as
search boxes or names. They are created using HTML <input> tag.
Attributes
Following is the list of attributes for <input> tag for creating text field.
Attribute Description
Type Indicates the type of input control and for text input control it will be set
totext.
Name Used to give a name to the control which is sent to the server to be
Value This can be used to provide an initial value inside the control.
Size Allows to specify the width of the text-input control in terms of characters.
maxlength Allows to specify the maximum number of characters a user can enter into
This is also a single-line text input but it masks the character as soon as a user
enters it.
They are also created using HTML <input> tag but type attribute is set to
password.
Example
Here is a basic example of a single-line password input used to take user password:
<form >
<br>
</form>
This is used when the user is required to give details that may be longer than a
single sentence. Multi-line input controls are created using HTML <textarea> tag.
Example
Here is a basic example of a multi-line text input used to take item description:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
</textarea>
</form></body></html>
Attribute Description
Name Used to give a name to the control which is sent to the server to be
Checkbox Control
Checkboxes are used when more than one option is required to be selected. They
are also created using HTML <input> tag but type attribute is set to checkbox.
Example
Here is an example HTML code for a form with two checkboxes:
<!DOCTYPE html>
<html>
<head>
<title>Checkbox Control</title>
</head>
<body>
<form>
</form>
</body></html>
Attribute Description
Indicates the type of input control and for checkbox input control it
type will be
set to checkbox.
name Used to give a name to the control which is sent to the server to be
Radio buttons are used when out of many options, just one option is required to be selected.
They are also created using HTML <input> tag but type attribute is set to radio.
Attribute Description
Indicates the type of input control and for checkbox input control it
type will be set to radio.
name Used to give a name to the control which is sent to the server to be
value The value that will be used if the radio box is selected.
checked Set to checked if you want to select it by default.
Example
Here is example HTML code for a form with two radio buttons:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
</form>
</body>
</html>
A select box, also called drop down box which provides option to list down various
options in the form of drop down list, from where a user can select one or more
options.
Attribute Description
name Used to give a name to the control which is sent to the server to be
Attribute Description
The value that will be used if an option in the select box box is
value selected.
Specifies that this option should be the initially selected value when
selected the page loads.
Example
Here is example HTML code for a form with one drop down box
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
<select name="dropdown">
<option value="Physics">Physics</option>
</select>
</form>
</body></html>
File Upload Box
If you want to allow a user to upload a file to your web site, you will need to use a
file upload box, also known as a file select box. This is also created using the
<input> element but type attribute is set to file.
Example
Here is example HTML code for a form with one file upload box:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
</form>
</body>
</html>
Button Controls
There are various ways in HTML to create clickable buttons. You can also create a
clickable button using <input> tag by setting its type attribute to button. The type
attribute can take the following values:
Type Description
Reset
This creates a button that automatically resets form controls to their
initial values.
This creates a button that is used to trigger a client-side script when
button the user clicks that button.
Example
Here is example HTML code for a form with three types of buttons:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
</form>
</body>
</html>
MARQUEE
Note: The HTML <marquee> tag may not be supported by various browsers so it is
not recommended to rely on this tag, instead you can use JavaScript and CSS to
create such effects.
Syntax
A simple syntax to use HTML <marquee> tag is as follows:
</marquee>
Following is the list of important attributes which can be used with <marquee> tag.
Attribute Description
This specifies the width of the marquee. This can be a value like
width 10 or 20% etc.
This specifies the height of the marquee. This can be a value like
height 10 or 20% etc.
This specifies the type of scrolling of the marquee. This can have
behavior a value like scroll, slide and alternate.
This specifies how long to delay between each jump. This will
scrolldelay have a value like 10 etc.
scrollamoun This specifies the speed of marquee text. This can have a value
t like 10 etc.
Examples - 1
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
HEADER
We have learnt that a typical HTML document will have following structure:
<html>
<head>
</head>
<body>
</body>
</html>
This chapter will give a little more detail about header part which is represented by
HTML <head> tag. The <head> tag is a container of various important tags like
<title>, <meta>, <link>, <base>, <style>, <script>, and <noscript> tags.
The HTML <title> tag is used for specifying the title of the HTML document.
Following is an example to give a title to an HTML document:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Hello, World!</p>
</body></html>
The HTML <meta> Tag
The HTML <meta> tag is used to provide metadata about the HTML document
which includes information about page expiry, page author, list of keywords, page
description etc.
Following are few of the important usages of <meta> tag inside an HTMLdocument:
<!DOCTYPE html>
<html>
<head>
<!-- Tag to tell robots not to index the content of a page --> <meta name="robots" content="noindex,
nofollow">
</head>
<body>
<p>Hello, World!</p>
</body>
</html>
The HTML <style> Tag
The HTML <style> tag is used to specify style sheet for the current HTML
document.
Following is an example to define few style sheet rules inside <style> tag:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.myclass{
background-color: #aaa;
padding: 10px;
</style>
</head>
<body>
</body>
</html>
The HTML <script> tag is used to include either external script file or to define
internal script for the HTML document. Following is an example where we are using
JavaScript to define a simple JavaScript function:
<!DOCTYPE html>
<html>
<head>
<script type="text/JavaScript">
function Hello(){
alert("Hello, World");
</script>
</head>
<body>
</body>
</html>
The HTML <button> tag is used for creating a button within HTML form. You can
also use <input> tag to create similar buttons.
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form>
</form>
</body>
</html>
HTML <canvas> Tag
The HTML <canvas> tag is for drawing graphics, animations etc using scripting.
<body>
<script>
var c=document.getElementById('newCanvas');
var ctx=c.getContext('2d');
ctx.fillStyle='#00FD00';
ctx.fillRect(0,0,200,60);
</script>
</body>
<!DOCTYPE html>
<html>
<body>
<script>
var c = document.getElementById("myCanvas");
ctx.beginPath();
ctx.arc(95,50,40,0,2*Math.PI);
ctx.stroke();
</script>
</body>
</html>
The HTML <svg> Element
The HTML <svg> element is a container for SVG graphics.
SVG has several methods for drawing paths, boxes, circles, text, and graphic
images.
<!DOCTYPE html>
<html>
<body>
<!—circle->
<!—rectangle-->
<!—rounded rectangle-->
<!--polygon: star-->
</body>
</html>
<audio controls>
<source src="filename.extention/path" type="audio/(extention)">
< Your browser does not support the audio element.
</audio>
<embed src="helloworld.swf">
Use the <input> element's list attribute to bind it together with a <datalist>
element.
<input list="browsers">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
• Forum post
• Blog post
• News story
• Comment
<article>
<h1>Google Chrome</h1>
<p>Google Chrome is a free, open-source web browser developed by
Google, released in 2008.</p>
</article>