Lect 02-Set 372 - HTML 2
Lect 02-Set 372 - HTML 2
Internet Application
02 Development
Introduction to
the Development
of Web Applications
Using ASP .Net
(Core) MVC
Open this file in a browser and check that it looks like the
screenshot below (Fig. 3.3)
Cascaded Paragraphs
<html>
<head><title>Welcome onboard</title></head>
<body bgcolor=“#f4f4f4">
<h1>Welcome</h1>
<img src=“dcetech.gif" width=“222" height=“80" alt=“DCETECH" BORDER="0“ />
<h2>A Message from the Speaker </h2>
<p><font color=red>Good evening! Thank you for coming here!</font></p>
<p>Hello and welcome to Web technologies workshop! I'm <b> Ankit Jain,</b>, 4th
year Computer Engg <a href=“http://dcetech.com"> Head DCETECH.COM </a>.
Dcetech is a student portal and only one of its kind in India.It is not only a
technical oriented site which caters only for engineers but its for students
from any background! Also students from any educational institution can
register and join Dcetech. </p>
. . .
</body>
</html>
Turns into this…
3.4 Add Links and White Spaces to Our Pages
Fig. 3.4 Shows the page displayed in a browser. It contains an H1 element and three A
elements
non-breaking space
3.5 Add Images and White Spaces to Our Pages
Fig. 3.6 Shows how the page should show up in a browser after we embedded an image. Note
the tooltip text shown as the mouse hovers over the image (this was set by the TITLE attribute
of the IMG element)
Fig. 3.7 This is the same as the above figure, but the underlying image was
removed. Note that the text “This is me, resting” is still included/displayed in the
page
3.6 Tables and Buttons
3.6 Tables and Buttons
Fig. 3.8 Shows how an HTML table will look like in a browser
3.7 A Few Other HTML Elements We’ll Use Later
Fig. 3.9 Shows the same table as seen in Fig. 3.8, but with a newly added dropdown
list
3.7.2 Input Elements
Fig. 3.10 Shows several labels and input elements of various types (including
password, text, color, and file)
3.8 Form and More on Input Elements and Attributes
Fig. 3.11 Shows a H1 element and a form containing four labels and input elements
The data type of input
submit = = button
Fig. 3.12 Shows the same elements as seen in Fig. 3.11, but with a newly added
input element (displayed as a button)
Added a Label and an Input Element of type Checkbox
checkbox
Fig. 3.13 To Fig. 3.12 we now added a label and an input element of
type checkbox
Fig. 3.14 If the user attempt to submit a form without a text in the password field (which
was set as required), then an error (“Please fill out this field”) will be displayed
3.9 GET Versus POST Request, the Action and the Method
Attributes
Questions
30
Thank You