Professional Documents
Culture Documents
Unit Title
Lecture Number Lecture Title
HOME
C onfidential NEXT
Objectives :
To structure a Web page with help of HTML table element.
2
PREVIOUS HOME
CNEXT onfidential
Lecture Outline
Introduction HTML Table Structure Basic HTML Table Tags Attributes to Format Tables Multimedia Files on a Web Page Using a Form Creating Formatted Lists Using Frames in a Web Page Summary Check Your Learning Activity
3
PREVIOUS HOME
CNEXT onfidential
Introduction
HTML is used for various purposes, such as: Organising content on Web page. Creating forms. Creating numbered or bulleted list.
In this session, we will learn various HTML codes to perform the above tasks.
4
PREVIOUS HOME
CNEXT onfidential
Functions of HTML tables: Display text and numeric information in rows and columns Organise or structure Web content
5
PREVIOUS HOME
CNEXT onfidential
</td> </tr>
6
PREVIOUS HOME
CNEXT onfidential
Table Attributes
Width
Height
Cell Width
Text Alignment
valign
align
7
PREVIOUS HOME
CNEXT onfidential
Multimedia refers to media files such as audio, video, text, graphics, or animation. Multimedia files can be inserted on Web page by using: <a> tag: <a href="audio.mp3">Play the audio file</a>
8
PREVIOUS HOME
CNEXT onfidential
Using a Form
Inputs elements of form
Text Field
Password Field
Radio Buttons
<form> <p>Tiger - National animal of India. <input type="radio" name="answer" value="true"/>Yes <input type="radio" name="answer" value="false"/>No </form>
9
PREVIOUS HOME
CNEXT onfidential
Contd
Inputs elements of form
Checkboxes
Submit Button
<form> <p>Select the vehicles that you have.</p> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike <input type="checkbox" name="vehicle" value="Car" /> I have a car </form>
<form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form>
10
PREVIOUS HOME
CNEXT onfidential
Ordered List <ol> <li>Text line first. <li>Text line second. <li>Text line third. <li>Text line fourth. </ol> Output: 1. Text line first. 2. Text line second. 3. Text line third. 4. Text line fourth.
Unordered List <ul> <li>Text line first. <li>Text line second. <li>Text line third. <li>Text line fourth. </ul> Output:
Text line first. Text line second. Text line third. Text line fourth.
11
PREVIOUS HOME
CNEXT onfidential
Width=30% Left.html
12
PREVIOUS HOME
CNEXT onfidential
Summary
and cells.
Multimedia files can be inserted using <a> tag, <embed> tag, and <object> tag. Input elements of forms include text and password field, radio button, checkbox, and submit button.
13
PREVIOUS HOME
CNEXT onfidential
Ans. Multimedia refer to media files such as audio, video, text, graphics,
or animation. 3. What is the code to create a password field in HTML?
14
PREVIOUS HOME
CNEXT onfidential
Activity
1.
Search on Web, and enlist and analyse the various multimedia file extensions.
15
PREVIOUS HOME
Confidential