Professional Documents
Culture Documents
LECTURE 03
Spring 2019
. Body: indicate the start and end of main body of textual information
<BODY>
</BODY>
TEXT
▪ <P>….. </p>: starts a new paragraph
▪ Align (left, right, center and justify)
6
LISTS
▪ Un-ordered Lists:
▪ Starting Tag <UL>, Ending Tag </UL>
▪ List Items <LI>
▪ Type (FILLROUND, SQUARE)
▪ Ordered Lists:
▪ Starting Tag <OL>, Ending Tag </OL>
▪ List Items <LI>
▪ Type (“1”, “A”, ‘”a”, ”I”, ”i”)
▪ Start (Alerts the numbering Sequence)
▪ Value (Changes the number sequence in the middle of an ordered list)
▪ Definition Lists:
▪ Starting Tag<DL>
▪ Ending Tag </DL>
▪ Definition Term <DT>
▪ Definition Description <DD>
7
LINKS
▪ The crux of HTML is its capability to reference countless other
pieces of information easily on the internet
▪ Internal link
▪ External link
▪ Internal links work through website directory
▪ Absolute links
▪ Relative links
8
TABLES
▪ Tables display information in rows and columns
▪ Tables are commonly used to display all manner of data (even
page structure in past) that fits in a grid such as train
schedules, television listings, financial reports etc.
▪ <table> … </table>
▪ <tr> … </tr> the row and <td> … </td> cell
▪ <th> … </th> heading row
▪ Table body and Table header
▪ Table footer and Table summary
▪ Caption
▪ spanning
9
IMAGES
• <img> tag is used to add images to web pages
• SRC attribute
• Alt attribute
• Image link
• Image maps allow you to add multiple links to the same
image
• Each of these clickable areas is known as a hotspot
• Defining a map:
• <map name=“map name”>
• <area shape=“link-shape” coords=“coordinates of link area”
href=“page-reference”>
• </map>
10
VIDEO AND AUDIO
• The <video> and <audio> tag is used to add a video and
audio to a web page
• The src attribute
• Auto-play
• Controls
• Height (video)
• Loop
11
FORMS
▪ Forms provide a means of submitting information from the
client to the server
▪ Form tag
▪ Common Form Attributes:
▪ action - gives the URL of the application that is to receive and process
the forms data
▪ method - sets the HTTP method that the browser uses to send the
form's data to the server for processing; Either POST or GET
▪ name – name of the form
12
FORM INPUT
▪ Textbox
▪ Password Field
▪ Hidden Field
▪ Checkbox
▪ Radio Button
▪ Text Area
▪ Select List
▪ Submit Button
▪ Reset Button
▪ And many more
13
SUBMITTING
▪ Submit and Reset Buttons
16
WEB FORMS
▪ HTTP methods are some verb keywords which correspond to
the request being sent to the server. There are many request
methods, however, some of commonly used are listed below.
▪ GET: GET request is used to get resource from web-server. The
resource can be any type of file (i.e. a webpage).
▪ HEAD: HEAD method is very similar to the GET method. However, in
the HEAD method, the server does not return a response message.
▪ POST: Data is posted to the web server to perform some operations
on it.
▪ PUT: PUT sends data to the web server to add new data on the web
server.
▪ DELETE: DELETE is used to delete a resource from the web server.
17
PAGE ELEMENTS
▪ The header
▪ The section
▪ The article
▪ The footer
▪ The navigation
▪ The aside
▪ The address