1989 -- world wide web (www) -- berners lee
1991 -- HTML -- berners lee
2000 -- XHTML
2008 -- HTML5
2017 -- HTML5.2 (current version)
<!DOCTYPE html>
<html>
<head>
<titl> HTML PAGE </title>
</head>
<body>
<h1>Hello Dunia!!!</h1>
</body>
</html>
what is nested element??
What is ancher tag??
what is image tag??
what is url and it's type??
what is HTML Attribute?? and style attribute??
what is formatting element??
What is HTML comment??
what is HTML color?? (RGB, HEX, HSL,or RGBA, HSLA.)
HTML supports 140 standard color names.
HSL stands for hue, saturation, and lightness.
Hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, and 240 is blue.
Saturation is a percentage value. 0% means a shade of gray, and 100% is the full color.
Lightness is also a percentage value. 0% is black, and 100% is white.
HTML CSS
Cascading Style Sheets (CSS) is used to format the layout of a webpage.
With CSS, you can control the color, font, the size of text, the spacing
between elements, how elements are positioned and laid out, what background
images or background colors are to be used, different displays for
different devices and screen sizes, and much more!
USINg CSS??
CSS can be added to HTML documents in 3 ways:
Inline - Apply one element,I
Internal - Apply one page, II
External - Apply many page, III
inline css ==> < h1 > style="color:blue;">A Blue Heading< /h1>
internal css==>
< head >
< style >
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
< /style >
< /head >
External css ==> < link rel="stylesheet" href="styles.css" >
style.css
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
HTML LINK ??
Links are found in nearly all web pages. Links allow users to click their way from page
to page.
HTML links are hyperlinks.
You can click on a link and jump to another document.
Syntax :- <a href="url">link text</a>
By default, links will appear as follows in all browsers:
An unvisited link is underlined and blue
A visited link is underlined and purple
An active link is underlined and red
LINK TITLE Attribute??
The title attribute specifies extra information about an element.
Go to my Google page
<a href="mailto:manoj00@gmail.com" title="send mail">
Send email
</a>
Favicon image A favicon is a small image displayed next to the page title in the browser tab. <link rel="icon" type="image/x-icon" href="/images/favicon.ico">
HTML tables allow web developers to arrange data into rows and columns.
<table style="width:100%">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
dotted, dashed, solid, double, groove, ridge, inset, outset, none, hidden
HTML lists is group a set of related items in lists.
Ordered list
<ol type="1">
<li>Item-1</li>
<li>Item-2</li>
<li>Item-3</li>
</ol>
type=1,A,a,i.I
start ="50"
unordered list
<ul style="list-style-type:disc;">
<li>Item-1</li>
<li>Item-2</li>
<li>Item-3</li>
</ul>
disc, circle,squre,none
Description list
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333333;
}
li {
float: left;
}
li a {
display: inline-block;
color: white;
text-align: center;
padding: 16px;
text-decoration: none;
}
li a:hover {
background-color: #111111;
}
</style>
</head>
<body>
<h2>Navigation Menu</h2>
<p>
In this example,
we use CSS to style
the list horizontally,
Create a navigation menu
</p>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#about">About</a></li>
</ul>
</body>
</html>
The HTML <iframe> tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML document.
Syntax :- <iframe src="url" title="description"></iframe>
<img src="picture.jpg">
The "picture.jpg" file is located in the
same folder as the current page
<img src="images/picture.jpg">
The "picture.jpg" file is located in the images
folder in the current folder
<img src="/images/picture.jpg">
The "picture.jpg" file is located in the
images folder at the root of the current web
<img src="../picture.jpg">
The "picture.jpg" file is located in the folder one
level up from the current folder
Websites often display content in multiple columns (like a magazine or a newspaper).
Responsive web design is about creating web pages that look good on all devices!
A responsive web design will automatically adjust for different screen sizes and viewports.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
An HTML form is used to collect user input. The user input is most often sent to a server for processing.
Basic input field info. Form using table Teacher's feedbackForm Registration form