HTML Notes
HTML Notes
HTML Introduction
HTML is the standard markup language for creating Web pages.
What is HTML?
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements label pieces of content such as "this is a heading", "this is a
paragraph", "this is a link", etc.
The HTML element is everything from the start tag to the end tag:
<h1>SP Computers</h1>
<br>
<hr>
Note: Some HTML elements have no content (like the <br> element).
These elements are called empty elements. Empty elements do not
have an end tag!
WHY HTML ?
Advantages of HTML
HTML is easy to learn and implement (Alternative to traditional presentation
software.)
Powerful text formatting facility
Device and platform independent.
HTML is Free. ...
HTML is supported by all Browsers. ...
HTML is Simple to Edit. ...
HTML can Integrate Easily with Other Languages. ...
HTML is Lightweight. ...
HTML is Basic of all Programming Languages.
Css- styling
Script - behaviour
<BR>The HTML <br> element defines a line break. Use <br> if you
want a line break (a new line) without starting a new paragraph.
The <br> tag is an empty tag, which means that it has no end tag.
</font>
HTML Lists
Unordered HTML List
An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
The list items will be marked with bullets (small black circles) by default:
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Example
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
A,B,C,
I,II,III
<ul type=”circle”>
<li>File</li>
<ul>
<li>New</li>
<ol>
<li>Document</li>
<li> Blog post</li>
<li>template</li>
</ol>
<li>Open</li>
<li>Save</li>
<li>Print</li>
</ul>
<li>Edit</li>
<li>View</li>
</ul>
File
New
Document
Blog post
template
Open
Save
Exit
Edit
Cut
Copt
Paste
View
Status bar
Format
Word wrap
Font
Font
Font-size
Font-style
Help
Mobile menu
<ol>
<li>Call</li>
<ul>
<li>received<li>
<li>dialed</li>
<li>missed</li>
</ul>
<li>Message</li>
<ul>
<li>Inbox</li>
<li>Write message</li>
<li>Outbox</li>
</ul>
<li>multimedia</li>
<ul>
<li>Clock<li>
<li>calculator</li>
<li>Fm Radio</li>
</ul>
</ol>
The <dl> tag defines the description list, the <dt> tag defines the term (name), and
the <dd> tag describes each term:
Example
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
Each table row is defined with a <tr> tag. Each table header is defined with
a <th> tag. Each table data/cell is defined with a <td> tag.
Table elements
Jill Smith 50
Eve Jackson 94
<table>
<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>
</table>
Table attributes
Example 2:
Admission process
Cummins college of Engineering
Courses No. of Students
Computer 120
Instrumentation 80
E & TC 60
Example 3:
Snacks Center
Food Rate discount
Pav-bhaji Rs.120 5%
Pizza Rs.350 7%
Example 4:
Programming Languages
Java
Object oriented programming
C++
C
Structured language
Basic
<table border=2>
<tr>
<td colspan=2>Programming Language</td>
</tr>
<tr>
<td rowspan=2>Object Oriented Language</td>
<td>Java</td>
</tr>
<tr>
<td>C++</td>
</tr>
<tr>
<td rowspan=2>Structured Language</td>
<td>C </td>
</tr>
<tr>
<td>Basic</td>
</tr>
</table>
Example 7:
YEAR
HTML IMAGES
Image Attributes
HTML Links
Links are found in nearly all web pages. Links allow users to click their way from
page to page.
When you move the mouse over a link, the mouse arrow will turn into a little hand.
A link does not have to be text. A link can be an image or any other HTML element!
The most important attribute of the <a> element is the href attribute, which
indicates the link's destination.
The link text is the part that will be visible to the reader.
Clicking on the link text, will send the reader to the specified URL (uniform
Resource Locator) address.
A local link (a link to a page within the same website) is specified with a relative
URL (without the "https://www" part):
<h2>Absolute URLs</h2>
<p><a href="https://www.w3.org/">W3C</a></p>
<p><a href="https://www.google.com/">Google</a></p>
<h2>Relative URLs</h2>
<p><a href=" D:\Samruddhi\12th science\HTML\HTML Colors">HTML Colors</a></p>
<p><a href="D:\Samruddhi\MCCE\sylabus & notes\C programming Crash course">C
Programming</a></p>
Example
<a href="default.asp">
<img src="smiley.gif" alt="HTML tutorial" width=42 height=42>
</a>
Example
<a href="mailto:someone@example.com">Send email</a>
<p>
<a href="#samepage">Link to samepage</a>
</p>
<a NAME="samepage">
<h2>
You are in same page.
</h2>
</a>
<html>
<head>
<style>
H2{
Color:Yellow;
}
</style>
</head>
<body>
</body>
</html>
HSC Science
1. Physics
2. Chemistry
3. Maths
4. Computer Science
a. Paper 1
i. Operating System
ii. Data Structure
iii. CPP Programming
iv. Html
b. Paper 2
i. Introduction To Microprocessor
ii. Instruction Set Of 8085
iii. Networking Technology
iv. X-86 Family
v. Introduction To Microcontroller
Title bar –
Scrollbars –
Vertical /horizontal bar to move page or window up/down and move across left/right