01 - HTML Intro
01 - HTML Intro
Internet WWW
Network of networks, in WWW is a way of
which millions of accessing information
computers are connects over the medium of the
together globally, forming Internet.
a network in which any The Web uses the HTTP
computer can protocol.
communicate with other
computer.
Understanding Web Server
and Web Browser
It’s important to get
an understanding of
the roles of the Web
server and Web
browser before
starting your Web
development
Understanding Web Server
and Web Browser
The Web browser initiates a request for a
Web server resource.
HTTP is used to send the GET request to the
Web server.
The Web server processes the request.
server.
The Web server processes the data.
Web browser.
The Web browser processes the response,
<head>
<title>Title of page</title>
</head>
</html>
Example Explanation
The first tag in your HTML document is <html>. This tag tells
your browser that this is the start of an HTML document. The last
tag in your document is </html>. This tag tells your browser that
this is the end of the HTML document.
The text between the <head> tag and the </head> tag is header
information. Header information is not displayed in the browser
window.
The text between the <title> tags is the title of your document.
The title is displayed in your browser's caption.
The text between the <body> tags is the text that will be
displayed in your browser.
The text between the <b> and </b> tags will be displayed in a
bold font.
Tags Attributes
Tags can have attributes. Attributes provide additional information to
an HTML element. e.g. <table border="0">
Attributes always come in name/value pairs like this:
name="value".
Attributes are always specified in the start tag of an HTML
element.
Attributes and attribute values are also case-insensitive.
Attribute values should always be enclosed in quotes. Double
style quotes are the most common, but single style quotes are
also allowed.
In some rare situations, like when the attribute value itself
contains quotes, it is necessary to use single quotes:
name='John "ShotGun" Nelson'
Headings
Headings are defined with the <h1> to <h6> tags.
<h1> defines the largest heading. <h6> defines the
smallest heading.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
<h5>This is a heading</h5>
<h6>This is a heading</h6>
HTML automatically adds an extra blank line before and
after a heading.
Paragraphs
Paragraphs are defined with the <p> tag.
<p>This is a paragraph</p>
<p>This is another paragraph</p>
<i>
Web Engineering</i>
<em>
Web
Engineering