Lab-Journal--09
Lab-Journal--09
LAB # 09
OBJECTIVES
Introduction and basics of HTML
What is HTML?
Why do we use HTML?
HTML tools
Basic HTML syntax
Inserting images (Adjusting height and width)
Basic table layering
Resume buildup
LAB TASKS
2. Brackets
3. Notepad/Notepad++
Simple to use and lightweight, great for beginners who just want
to get started with basic code editing.
Introduction to Information & Communication Technology
LAB # 09
1. HTML Documents
The HTML document itself begins with <html> and ends with </html>.
Try it!
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph. </p>
<button id="clickMe">Click Me</button>
</body>
</html>
Solution:
Introduction to Information & Communication Technology
LAB # 09
2. HTML Headings
HTML headings are defined with the <h1> to <h6> tags. <h1> defines
the most important heading. <h6> defines the least important
heading:
Try it!
3. HTML Headings
HTML headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the least
important heading:
Try it!
Solution:
Introduction to Information & Communication Technology
LAB # 09
4. HTML Links
HTML links are defined with the <a> tag:
Try it!
<a href="https://www.w3schools.com">This is a link</a>
Solution:
5. HTML Images
Introduction to Information & Communication Technology
LAB # 09
Try it!
Solution:
Task # 3:
HTML Attributes
All HTML elements can have attributes
Attributes provide additional information about elements
Attributes are always specified in the start tag
Attributes usually come in name/value pairs like name="value"
Solution:
The <img> tag should also contain the width and height attributes, which
specify the width and height of the image (in pixels):
Try it!
Solution:
Try it!
<table>
<tr>
<th>Introduction to HTML tables</th >
</tr>
<tr>
<td>Web Development </td>
</tr>
<tr>
<td>Front End </td>
</tr>
</table>
Solution:
Introduction to Information & Communication Technology
LAB # 09
Excercise # 1
Design the HTML page which looks like the following:
Excercise # 2
Create the HTML page given below:
Exercise 01
Exercise 02
Exercise 03
*************************END OF JOURNAL**********************