Lesson 5
Lesson 5
Technologies
Lesson #5
(Web Development)
Lesson Flow
- Other HTML Tags
- CSS
<meta> Tag
Defines metadata about the HTML file, it should
always be placed inside the <head> tag.
The <meta> tag does not display anything in the
webpage but is essential in giving instruction on
how the webpage is displayed or searched in
search engines.
Example:
<html>
<head>
<meta charset =“UTF-8”>
<meta name = “description” content=“Simple Landing Page”>
<meta name = “keyword” content=“Simple landing page, landing page, simple”>
<meta name = “author” content=“BSIT Student”>
<meta name = “viewport” content=“width-device-width, initial-scale=1.0”>
</head>
</html>
<link> Tag
Defines a “link” between the HTML file to an
external source file, such as favicons and
stylesheets(css).
It is normally use in the <head> tag to associate
an icon or a css file to the html document.
Example:
<html>
<head>
<link rel=“icon” href=“favicon.ico”/>
<link rel=“stylesheet” href=“style.css”/>
</head>
</html>
<script> Tag
It is used to include a client-side script which is
JavaScript
It can be used by either including a JavaScript
code inside the tag or using an external file using
the src attribute.
Example:
<script>
alert(‘Hello World!’)
</script>
Or
<script src=‘somescript.js’></script>
<iframe> tag
It is used to embed an HTML Document within an HTML Document
It is often used to include buttons or content from other websites.
Example:
<html>
<body>
<iframe src=https://websitenakoni.com title=“Dili Ko mag saba”/>
</body>
</html>
<progress> Tag
It is used to display a progress bar. It is commonly
used to display task progress.
<html>
<body>
<progress value=“75” max=“100”/>
</body>
</html>
CSS
CSS (Cascading Style Sheet) is the standard
language used to style an HTML Document.
Example Syntax:
P{
color:red;
font-size:24px;
}
<style> Tag
Used to integrate a Stylesheet (css) to our HTML
Document without creating an external CSS file.