Professional Documents
Culture Documents
Lecture-1A
Instructor: Vishal Chawla
2
Network
computers connected together for the purpose of communicating and sharing
resources
Protocols
› Rules that describe the methods used for clients and servers to communicate with
each other over a network.
HTTP Response
Web browsers send HTTP requests for web pages and their associated files.
URL
Uniform Resource Locator
Represents the address of a resource on the Internet.
› http://www.w3.org/html/
http://www.pearsonhighered.com/cs-resources/products/product.html#product,isbn=01339
70744
http://www.pearsonhighered.com/felke-morris
16 The Paragraph Element
<p> tag
Paragraph element
<p> …paragraph goes here… </p>
<hr >
<blockquote>
…text goes here…
</blockquote>
<strong></strong>
Text has strong importance and is displayed in bold
<i></i>
Text is displayed in italic font
<em></em>
Text has emphasis and is displayed in italic font
Source: Basics of Web Design (HTML5 and CSS3)
Proper Nesting
21
CODE:
<p><i>Call for a free quote for your web development needs: <strong>222.555.5555
</strong></i></p>
BROWSER DISPLAY:
Call for a free quote for your web development needs: 222.555.5555
Unordered List
Description List (XHTML Definition List)
Ordered List
The dt Element
<dt>
tag
Contains a term or name
The dd Element
<dd>tag
Contains a definition or description
Indents the text
28 Description List Example
<dl>
<dt>IP</dt>
<dd>Internet Protocol</dd>
<dt>TCP</dt>
<dd>Transmission Control Protocol</dd>
</dl>
Character Code
© ©
< <
> >
& &
Purpose:
Configure a specially formatted division or area of a
web page
Main Element
<main></main>
Contains the main content
Footer Element
<footer></footer>
Contains the footer
Source: Basics of Web Design (HTML5 and CSS3)
32
The Anchor Element
<a>
The anchor element
Inline display element
href Attribute
Indicates the file name or URL
Web page document, photo, pdf, etc.
<a href="http://yahoo.com">Yahoo</a>
Relative link
Link to pages on your own site
Relative to the current page
<a href="index.html">Home</a>
Automatically launch the default mail program configured for the browser
If no browser default is configured,
a dialog box is displayed
<a href="mailto:me@hotmail.com">me@hotmail.com</a>
Benefit:
Valid code
more consistent browser display