This document discusses HTML frames, including how to create and control the appearance and placement of frames, specify targets for hyperlinks, and handle browsers that do or do not support frames. Key points covered include using the <frameset> tag to define frame layouts using rows and columns, specifying frame sources and sizes, controlling scrolling, borders, and resizing, assigning names to frames and using targets to control where hyperlinks open, and creating floating frames. The document also notes disadvantages of frames and tips for supporting non-framed browsers.
Frames divide the browser window into separate panes, each containing an HTML document. This allows reloading individual panes without reloading the entire browser window. The window is divided using rows and columns defined by the <frameset> element. Each frame displays a document defined by its <frame> src attribute. Browsers that do not support frames will show content in the <noframes> element. Inline frames (<iframe>) also display separate documents but within the main document flow rather than in a divided window.
This document provides information about HTML frames including:
- Frames allow dividing the browser window into multiple panes using <frameset> and <frame> tags.
- <frameset> defines the layout as rows or columns and <frame> defines each individual pane.
- Attributes like name, src, scrolling control frame behavior.
- Targeting links to different frames uses the target attribute.
- Nested <frameset> allow complex layouts with rows and columns.
- <noframes> provides content for non-frame browsers.
Frames allow dividing a browser window into sections that can each load separate HTML documents. The <frameset> tag replaces the <body> tag and defines how to divide the window into rows and columns using frames. Each frame loads a document using the <frame> tag. Inline frames using <iframe> can embed another document anywhere in a page.
The document discusses HTML tables, links, frames, and iframes. It provides details on:
- Using <table>, <tr>, and <td> tags to create tables with rows and cells
- Creating links between pages using the <a> tag and href attribute
- Dividing pages into frames using the <frameset> tag and specifying rows or columns
- Embedding separate documents into the current page using the <iframe> tag
This document discusses HTML frames and inline frames (iframes). Frames divide the browser window into separate panes, each containing an HTML document. Key advantages of frames include reloading single panes without reloading the entire window. A collection of frames is called a frameset. The document defines how to create framesets using the <frameset> element and <frame> elements to specify individual frames. Attributes of these elements control frame borders, sizes, and content. <iframes> embed separate documents within the main document.
DEFINE FRAME AND FRAME SET WITH A EXAMPLEVaibhav Sinha
The document discusses HTML frames, which divide the browser window into multiple sections that can each load a separate HTML document. Frames are defined using the <frameset> tag instead of <body>, with the rows or cols attribute specifying how to divide the window horizontally or vertically into frames. Each frame is indicated by a <frame> tag specifying the HTML document to load. Examples are given showing how to create documents with three frames arranged horizontally using rows, and vertically using cols.
Frames divide a browser window into separate panes, each containing an HTML document. This allows reloading individual panes without reloading the entire browser window. A collection of frames is called a frameset. Framesets use <frameset> tags to define rows and columns, with each frame represented by <frame> tags specifying its source document. Inline frames (<iframe>) embed separate documents into the main page.
Frames divide a browser window into multiple panes, each containing a separate HTML document. A collection of frames is called a frameset. The <frameset> element replaces the <body> element and is used to define the rows and columns of frames. Individual <frame> elements are used within the <frameset> to specify sources for each frame. Attributes like name, target, and scrolling can be used to control frames. The <iframe> element defines an inline frame for embedding another document within the current one.
This document provides an introduction to HTML (Hypertext Markup Language) and web technologies. It covers the basics of HTML, including common tags like <h1>, <p>, <img>, and lists. It also discusses HTML versions and new features in HTML5 like audio, video, the canvas element and forms. The document is part of a course on web technologies and covers HTML, CSS, Bootstrap, React and more across several units.
The document discusses HTML frames, including:
1. Objectives such as creating frame layouts, controlling hyperlinks between frames, and using reserved target names.
2. Advantages of frames like flexibility in design and reducing redundancy. Disadvantages include increased loading time and some browsers not supporting frames.
3. Syntax for creating frame layouts using <frameset> tags and specifying frame sizes using pixels, percentages and asterisks.
It provides details on using frames and hyperlinks, including assigning names to frames and specifying link targets.
Frames allow dividing a browser window into multiple sections. A frameset defines how the window is divided into rows or columns of frames. Each frame displays a separate HTML document. The document provides two examples of using the <frameset> tag - one with rows to create horizontal frames and another with cols to create vertical frames. Each <frame> tag specifies an HTML document to load into that frame section.
Frames in HTML allow dividing a web page into multiple sections or windows. They can be used to embed other documents, create complex page layouts, and improve navigation. There are two main types of frames - inline frames (iframes) and framesets. Framesets use the <frameset> tag to divide the browser window into rows or columns containing individual <frame> elements. Attributes like src, name, and target are used to control the content and behavior of each frame. Targeting links between frames requires specifying the frame name in the target attribute. Overall, frames provide benefits but need to consider accessibility and responsive design for different screen sizes.
Frames allow dividing a browser window into multiple independent regions that can each display a different HTML document. A frameset document establishes the number of frames, their positions and characteristics without containing any content. It specifies the URL of the HTML document to display in each frame. Hyperlinks in one frame can update another frame through the TARGET attribute. The <frame> tag defines an individual window within a <frameset> and attributes like border, scrolling and resize can be set for each frame.
The document discusses HTML frames and how to structure a webpage using multiple frames. Frames allow dividing a browser window into sections to display different HTML documents. A common use is to have a menu frame on the left and content frame on the right. The document provides code examples for creating a basic frameset with two columns, adding a title banner frame above, and naming frames so links in one frame load the target page in another frame. Attributes like scrolling, border, and noresize customize frame properties.
Frames allow dividing a web page into multiple sections or frames displayed simultaneously. The document discusses:
1) How to create frames using the <frameset> and <frame> tags, specifying the number and size of frames.
2) Attributes like name, src, and target that control which page is loaded in each frame and how links behave.
3) Advanced framing techniques like nested frames and controlling scrolling behavior.
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
The document describes a week-by-week programming assignment. Week 1 involves creating an HTML form to collect student registration data. Week 2 focuses on different types of frames in HTML. Week 3 covers applying styles to webpages using inline, internal and external style sheets. Week 4 involves reading an XML file and displaying the data in a neat format using JavaScript. Week 5 is about defining a user function to sort values in an array. Week 6 demonstrates exception handling in JavaScript. Week 7 provides code for a servlet program to implement a basic calculator using a single text field.
The document provides information about HTML links and anchors. It includes a color chart of HTML background colors in hexadecimal format. It also discusses different types of links such as internal, local and global links. Text links, image links, anchors and email links are described. Guidelines for inserting images such as dimensions, alignment and use of images as links are also covered.
This document discusses HTML frames. Frames divide the browser window into multiple panes, each displaying a separate HTML document. A frameset page uses <frameset> tags to define the layout as rows or columns. <frame> tags specify the source of each pane's content. Links between frames require a target attribute to indicate the destination frame. Special targets like "_top" and "_blank" control how the linked content is displayed. Nested framesets allow complex multi-pane layouts.
Frames allow dividing the browser window into multiple sections to display different HTML documents. Each frame has a name and attributes like src, frameborder, marginwidth, and scrolling can be used. Nested frames can divide sections into rows and columns. Forms are used to collect user input through elements like text fields, checkboxes, radio buttons, textareas, dropdown menus, passwords and submit/reset buttons. Attributes specify where input is submitted and how. Frames allow multiple pages in one window but have disadvantages for small screens, printing and older browsers.
1) The document provides resources for a front-end development session including working files, slides, and an agenda.
2) It reviews HTML tags, CSS selectors, the box model, positioning, and Flexbox.
3) Instructions are given to install Atom plugins and review JavaScript and JQuery before adding an Express server to a webpage.
The document discusses various HTML tags. It describes the <img> tag for inserting images and attributes like src, height, width, and alt. It explains how the <table> tag is used to define tables with <tr> for rows and <th> or <td> for cells or headers. Attributes for tables like border, cellpadding, cellspacing are also covered. The document also discusses the <a> tag for creating links, form tags like <form>, <input>, and <textarea> for collecting user input, multimedia tags <video> and <audio>, embedding YouTube videos and maps with <iframe>, and other tags like <marquee>, <canvas>, and symbols.
This document summarizes CSS Grid Layout, a new two-dimensional grid system being added to CSS. It discusses some of the limitations of existing CSS layout methods and how Grid Layout addresses them. Key points include: Grid Layout uses line-based placement to position items, grid tracks can be flexible or fixed widths, areas can be explicitly or implicitly named, and the system avoids hacks and limitations of previous methods.
Frames divide a browser window into multiple panes, each containing a separate HTML document. A collection of frames is called a frameset. The <frameset> element replaces the <body> element and is used to define the rows and columns of frames. Individual <frame> elements are used within the <frameset> to specify sources for each frame. Attributes like name, target, and scrolling can be used to control frames. The <iframe> element defines an inline frame for embedding another document within the current one.
This document provides an introduction to HTML (Hypertext Markup Language) and web technologies. It covers the basics of HTML, including common tags like <h1>, <p>, <img>, and lists. It also discusses HTML versions and new features in HTML5 like audio, video, the canvas element and forms. The document is part of a course on web technologies and covers HTML, CSS, Bootstrap, React and more across several units.
The document discusses HTML frames, including:
1. Objectives such as creating frame layouts, controlling hyperlinks between frames, and using reserved target names.
2. Advantages of frames like flexibility in design and reducing redundancy. Disadvantages include increased loading time and some browsers not supporting frames.
3. Syntax for creating frame layouts using <frameset> tags and specifying frame sizes using pixels, percentages and asterisks.
It provides details on using frames and hyperlinks, including assigning names to frames and specifying link targets.
Frames allow dividing a browser window into multiple sections. A frameset defines how the window is divided into rows or columns of frames. Each frame displays a separate HTML document. The document provides two examples of using the <frameset> tag - one with rows to create horizontal frames and another with cols to create vertical frames. Each <frame> tag specifies an HTML document to load into that frame section.
Frames in HTML allow dividing a web page into multiple sections or windows. They can be used to embed other documents, create complex page layouts, and improve navigation. There are two main types of frames - inline frames (iframes) and framesets. Framesets use the <frameset> tag to divide the browser window into rows or columns containing individual <frame> elements. Attributes like src, name, and target are used to control the content and behavior of each frame. Targeting links between frames requires specifying the frame name in the target attribute. Overall, frames provide benefits but need to consider accessibility and responsive design for different screen sizes.
Frames allow dividing a browser window into multiple independent regions that can each display a different HTML document. A frameset document establishes the number of frames, their positions and characteristics without containing any content. It specifies the URL of the HTML document to display in each frame. Hyperlinks in one frame can update another frame through the TARGET attribute. The <frame> tag defines an individual window within a <frameset> and attributes like border, scrolling and resize can be set for each frame.
The document discusses HTML frames and how to structure a webpage using multiple frames. Frames allow dividing a browser window into sections to display different HTML documents. A common use is to have a menu frame on the left and content frame on the right. The document provides code examples for creating a basic frameset with two columns, adding a title banner frame above, and naming frames so links in one frame load the target page in another frame. Attributes like scrolling, border, and noresize customize frame properties.
Frames allow dividing a web page into multiple sections or frames displayed simultaneously. The document discusses:
1) How to create frames using the <frameset> and <frame> tags, specifying the number and size of frames.
2) Attributes like name, src, and target that control which page is loaded in each frame and how links behave.
3) Advanced framing techniques like nested frames and controlling scrolling behavior.
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
The document describes a week-by-week programming assignment. Week 1 involves creating an HTML form to collect student registration data. Week 2 focuses on different types of frames in HTML. Week 3 covers applying styles to webpages using inline, internal and external style sheets. Week 4 involves reading an XML file and displaying the data in a neat format using JavaScript. Week 5 is about defining a user function to sort values in an array. Week 6 demonstrates exception handling in JavaScript. Week 7 provides code for a servlet program to implement a basic calculator using a single text field.
The document provides information about HTML links and anchors. It includes a color chart of HTML background colors in hexadecimal format. It also discusses different types of links such as internal, local and global links. Text links, image links, anchors and email links are described. Guidelines for inserting images such as dimensions, alignment and use of images as links are also covered.
This document discusses HTML frames. Frames divide the browser window into multiple panes, each displaying a separate HTML document. A frameset page uses <frameset> tags to define the layout as rows or columns. <frame> tags specify the source of each pane's content. Links between frames require a target attribute to indicate the destination frame. Special targets like "_top" and "_blank" control how the linked content is displayed. Nested framesets allow complex multi-pane layouts.
Frames allow dividing the browser window into multiple sections to display different HTML documents. Each frame has a name and attributes like src, frameborder, marginwidth, and scrolling can be used. Nested frames can divide sections into rows and columns. Forms are used to collect user input through elements like text fields, checkboxes, radio buttons, textareas, dropdown menus, passwords and submit/reset buttons. Attributes specify where input is submitted and how. Frames allow multiple pages in one window but have disadvantages for small screens, printing and older browsers.
1) The document provides resources for a front-end development session including working files, slides, and an agenda.
2) It reviews HTML tags, CSS selectors, the box model, positioning, and Flexbox.
3) Instructions are given to install Atom plugins and review JavaScript and JQuery before adding an Express server to a webpage.
The document discusses various HTML tags. It describes the <img> tag for inserting images and attributes like src, height, width, and alt. It explains how the <table> tag is used to define tables with <tr> for rows and <th> or <td> for cells or headers. Attributes for tables like border, cellpadding, cellspacing are also covered. The document also discusses the <a> tag for creating links, form tags like <form>, <input>, and <textarea> for collecting user input, multimedia tags <video> and <audio>, embedding YouTube videos and maps with <iframe>, and other tags like <marquee>, <canvas>, and symbols.
This document summarizes CSS Grid Layout, a new two-dimensional grid system being added to CSS. It discusses some of the limitations of existing CSS layout methods and how Grid Layout addresses them. Key points include: Grid Layout uses line-based placement to position items, grid tracks can be flexible or fixed widths, areas can be explicitly or implicitly named, and the system avoids hacks and limitations of previous methods.
*Metamorphosis* is a biological process where an animal undergoes a dramatic transformation from a juvenile or larval stage to a adult stage, often involving significant changes in form and structure. This process is commonly seen in insects, amphibians, and some other animals.
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 795 from Texas, New Mexico, Oklahoma, and Kansas. 95 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
The Pala kings were people-protectors. In fact, Gopal was elected to the throne only to end Matsya Nyaya. Bhagalpur Abhiledh states that Dharmapala imposed only fair taxes on the people. Rampala abolished the unjust taxes imposed by Bhima. The Pala rulers were lovers of learning. Vikramshila University was established by Dharmapala. He opened 50 other learning centers. A famous Buddhist scholar named Haribhadra was to be present in his court. Devpala appointed another Buddhist scholar named Veerdeva as the vice president of Nalanda Vihar. Among other scholars of this period, Sandhyakar Nandi, Chakrapani Dutta and Vajradatta are especially famous. Sandhyakar Nandi wrote the famous poem of this period 'Ramcharit'.
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsDrNidhiAgarwal
Unemployment is a major social problem, by which not only rural population have suffered but also urban population are suffered while they are literate having good qualification.The evil consequences like poverty, frustration, revolution
result in crimes and social disorganization. Therefore, it is
necessary that all efforts be made to have maximum.
employment facilities. The Government of India has already
announced that the question of payment of unemployment
allowance cannot be considered in India
The ever evoilving world of science /7th class science curiosity /samyans aca...Sandeep Swamy
The Ever-Evolving World of
Science
Welcome to Grade 7 Science4not just a textbook with facts, but an invitation to
question, experiment, and explore the beautiful world we live in. From tiny cells
inside a leaf to the movement of celestial bodies, from household materials to
underground water flows, this journey will challenge your thinking and expand
your knowledge.
Notice something special about this book? The page numbers follow the playful
flight of a butterfly and a soaring paper plane! Just as these objects take flight,
learning soars when curiosity leads the way. Simple observations, like paper
planes, have inspired scientific explorations throughout history.
GDGLSPGCOER - Git and GitHub Workshop.pptxazeenhodekar
This presentation covers the fundamentals of Git and version control in a practical, beginner-friendly way. Learn key commands, the Git data model, commit workflows, and how to collaborate effectively using Git — all explained with visuals, examples, and relatable humor.
Geography Sem II Unit 1C Correlation of Geography with other school subjectsProfDrShaikhImran
The correlation of school subjects refers to the interconnectedness and mutual reinforcement between different academic disciplines. This concept highlights how knowledge and skills in one subject can support, enhance, or overlap with learning in another. Recognizing these correlations helps in creating a more holistic and meaningful educational experience.
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schoolsdogden2
Algebra 1 is often described as a “gateway” class, a pivotal moment that can shape the rest of a student’s K–12 education. Early access is key: successfully completing Algebra 1 in middle school allows students to complete advanced math and science coursework in high school, which research shows lead to higher wages and lower rates of unemployment in adulthood.
Learn how The Atlanta Public Schools is using their data to create a more equitable enrollment in middle school Algebra classes.
How to Manage Opening & Closing Controls in Odoo 17 POSCeline George
In Odoo 17 Point of Sale, the opening and closing controls are key for cash management. At the start of a shift, cashiers log in and enter the starting cash amount, marking the beginning of financial tracking. Throughout the shift, every transaction is recorded, creating an audit trail.
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessMark Soia
Boost your chances of passing the 2V0-11.25 exam with CertsExpert reliable exam dumps. Prepare effectively and ace the VMware certification on your first try
Quality dumps. Trusted results. — Visit CertsExpert Now: https://www.certsexpert.com/2V0-11.25-pdf-questions.html
Exploring Substances:
Acidic, Basic, and
Neutral
Welcome to the fascinating world of acids and bases! Join siblings Ashwin and
Keerthi as they explore the colorful world of substances at their school's
National Science Day fair. Their adventure begins with a mysterious white paper
that reveals hidden messages when sprayed with a special liquid.
In this presentation, we'll discover how different substances can be classified as
acidic, basic, or neutral. We'll explore natural indicators like litmus, red rose
extract, and turmeric that help us identify these substances through color
changes. We'll also learn about neutralization reactions and their applications in
our daily lives.
by sandeep swamy
The *nervous system of insects* is a complex network of nerve cells (neurons) and supporting cells that process and transmit information. Here's an overview:
Structure
1. *Brain*: The insect brain is a complex structure that processes sensory information, controls behavior, and integrates information.
2. *Ventral nerve cord*: A chain of ganglia (nerve clusters) that runs along the insect's body, controlling movement and sensory processing.
3. *Peripheral nervous system*: Nerves that connect the central nervous system to sensory organs and muscles.
Functions
1. *Sensory processing*: Insects can detect and respond to various stimuli, such as light, sound, touch, taste, and smell.
2. *Motor control*: The nervous system controls movement, including walking, flying, and feeding.
3. *Behavioral responThe *nervous system of insects* is a complex network of nerve cells (neurons) and supporting cells that process and transmit information. Here's an overview:
Structure
1. *Brain*: The insect brain is a complex structure that processes sensory information, controls behavior, and integrates information.
2. *Ventral nerve cord*: A chain of ganglia (nerve clusters) that runs along the insect's body, controlling movement and sensory processing.
3. *Peripheral nervous system*: Nerves that connect the central nervous system to sensory organs and muscles.
Functions
1. *Sensory processing*: Insects can detect and respond to various stimuli, such as light, sound, touch, taste, and smell.
2. *Motor control*: The nervous system controls movement, including walking, flying, and feeding.
3. *Behavioral responses*: Insects can exhibit complex behaviors, such as mating, foraging, and social interactions.
Characteristics
1. *Decentralized*: Insect nervous systems have some autonomy in different body parts.
2. *Specialized*: Different parts of the nervous system are specialized for specific functions.
3. *Efficient*: Insect nervous systems are highly efficient, allowing for rapid processing and response to stimuli.
The insect nervous system is a remarkable example of evolutionary adaptation, enabling insects to thrive in diverse environments.
The insect nervous system is a remarkable example of evolutionary adaptation, enabling insects to thrive
This chapter provides an in-depth overview of the viscosity of macromolecules, an essential concept in biophysics and medical sciences, especially in understanding fluid behavior like blood flow in the human body.
Key concepts covered include:
✅ Definition and Types of Viscosity: Dynamic vs. Kinematic viscosity, cohesion, and adhesion.
⚙️ Methods of Measuring Viscosity:
Rotary Viscometer
Vibrational Viscometer
Falling Object Method
Capillary Viscometer
🌡️ Factors Affecting Viscosity: Temperature, composition, flow rate.
🩺 Clinical Relevance: Impact of blood viscosity in cardiovascular health.
🌊 Fluid Dynamics: Laminar vs. turbulent flow, Reynolds number.
🔬 Extension Techniques:
Chromatography (adsorption, partition, TLC, etc.)
Electrophoresis (protein/DNA separation)
Sedimentation and Centrifugation methods.
Ls-No-1 Web Publishing Notes.pdf 12th information technology chapter 1
1. 1 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Lesson No.1 Web Publishing (Science & Commerce)
Importance of Lesson No. 1 in Exam
Practical Exam - Group A - 1 question (Weight-age: 9 marks)
Online Exam (Weight-age: 20 marks)
Write Program - 2 questions
Rearrange the following - 1 or 2 questions
MCQ1 Select one Answer - 3 or 4 questions
Fill in the blanks - 1 or 2 questions
True or False - 1 or 2 questions
MCQ2 Select two Answers - 1 question (may come)
MCQ3 Select three Answers - 1 question (may come)
Short Answers - 1 question (chances are very low but may come)
Notes for Objective Questions Study
Topic - Frames
Web Publishing – Creation of web sites/web pages and storing them on Web servers on
Internet for viewing to public.
Web server – It is a high configuration computer on Internet that stores web sites and
serves web pages to clients on request.
Web Browser – It is a software program used to browse web pages. E.g Chrome, IE, Opera,
Netscape navigator, Mozilla Firefox
Web site – It is a collection of web pages on a particular subject e.g. www.nasa.gov
Homepage – The first web page that is displayed when you visit a website.
FRAMES
It is used to divide the browser window into several parts through which we can see more
than one web page at a time. Each HTML document is called frame.
To create frames tags used are: <frameset> & <frame>
E.g.
<HTML>
<HEAD>
<TITLE>frame example</TITLE>
</HEAD>
<frameset rows="25%,50%,25%">
<frame src="web1.htm">
<frame src="web2.htm">
<frame src="web3.htm">
</frameset> </HTML>
2. 2 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
About <frameset> tag
<frameset> tag is a container tag for defining frames.
It replaces the <body> tag in frameset documents
It defines how to divide the window into frames.
Each frameset defines a set of rows or columns.
To divide screen horizontally we use rows.
To divide screen vertically we use cols
The rows/cols values indicate the amount of screen area, each row/column will
occupy
Attributes of frameset tag
i) Rows - It divides the screen into horizontal frames.
ii) Cols - It divides the screen into vertical frames.
Values of area can be given in % or pixels or by relative value using * (asterisk) symbol.
About <frame> tag
It is used to create frame within frameset.
It defines what HTML document to put into the frame.
Attributes of <frame>
Name – assigns a name to the frame.
Src – specifies the html page you want to display.
Frameborder - specifies the border around frame. By default value is 1. 0 - value for no
border.
Marginwidth – sets left right margins.
Marginheight – sets top and bottom margins.
Noresize - This attribute prevents the user from resizing the frame.
Scrolling – specifies whether to display scrollbar. It can have one of the three values - YES,
NO, AUTO.
<noframes> tag
The <noframes> tag is a fallback tag for browsers that do not support frames. It can contain
all the HTML elements that you can find inside the <body> element of a normal HTML page.
The <noframes> element can be used to link to a non-frameset version of the web site or to
display a message to users that frames are required.
The <noframes> element goes inside the <frameset> element.
3. 3 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Example:
<html>
<head>
<title>HTML noframes Tag</title>
</head>
<body>
<frameset cols="200, *">
<frame src="/html/menu.htm" name="menu_page">
<frame src="/html/main.htm" name="main_page">
<noframes>
<body> Your browser does not support frames. </body>
</noframes>
</frameset>
</body>
</html>
<iframe> tag
An inline frame is a frame that is displayed in a box within a web page.
<iframe> tag is used to create inline frame. The inline frame can display images or web
pages within it.
Attributes :
Attribute Value Description
src URL
Specifies the address of the document to embed
in the <iframe>
align
Left / right / top
middle / bottom
Specifies the alignment of an <iframe> according
to surrounding elements
frameborder 1 / 0
Specifies whether or not to display a border
around an <iframe>
height pixels Specifies the height of an <iframe>
longdesc URL
Specifies a page that contains a long description of
the content of an <iframe>
marginheight pixels
Specifies the top and bottom margins of the
content of an <iframe>
marginwidth pixels
Specifies the left and right margins of the content
of an <iframe>
name text Specifies the name of an <iframe>
scrolling Yes /no /auto
Specifies whether or not to display scrollbars in an
<iframe>
width pixels Specifies the width of an <iframe>
4. 4 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
HTML - Frames Practical Practice
We will learn dividing the browser window in different ways.
Step 1: First Create these four web documents and save in a folder.
Target attribute used in <a> tag
Magic target names are target names that will open the link in different frames/window.
Target="_self" - opens the page in same window
Target="_blank" - opens the page in new blank Window.
Target="_top" - opens the page in top frame.
Target="_parent" - opens the page in parent frame.
Step 2: Now create the frame file which will contain the <frameset> and <frame>
tags and save it with the name frame.html. The frame file will not contain the <body>
tag instead <frameset> tag.
5. 5 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Example 2: Dividing the window into three horizontal frames with middle
frame larger.
(for creating horizontal frames, we have to use rows attribute in the frameset tag
and specify the value 50% for middle frame, 25% for top frame and * symbol for the
third frame (* stands for relative value))
Example 1: Dividing the window equally into two horizontal frames.
(for creating horizontal frames, we have to use rows attribute in the frameset tag
and specify the value 50% for each frame)
6. 6 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Example 3: Dividing the window into three equal vertical frames.
(for creating horizontal frames, we have to use cols attribute in the frameset tag and
specify the value * relative value)
7. 7 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Example 5: Dividing the window into four frames
(for again dividing the frame we have to use nested frameset tags)
First we will divide the window into two frames. And then the first frame vertically
into two sections and same way bottom frame vertically into two sections.
Example 4: Dividing the window into two horizontal frames and then the
bottom frame again into two vertical sections.
(for again dividing the frame we have to use nested frameset tags)
First we will divide the window into two frames. And then the bottom frame vertically
into two sections.
8. 8 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Linking Frames
In linking there is menu/links on the left side of browser and the content is displayed
on the right side while clicking on links.
Example: Linking websites using Frames.
Here we will create two files
1) frameslink.html - containing <frameset> tags, We will name the frames as “left”
and “right”.
2) link.html – containing links to websites, in <a> tag use target attribute and specify
the second frame’s name i.e. “right”
framelinks.html
link.html
9. 9 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Output:
10. 10 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
IMAGE MAPPING
It is a single graphic image that consists of number of hyperlinks incorporated within an
image.
The specific areas mapped within an image are known as hotspots which are links to a
resource.
Map is a text file that contains the information of an image and the mapped areas of an
image.
These areas can be rectangles, circles or polygons defined in an image specified by
coordinates in pixels of the image.
There are two ways to do image mapping
1) Client Side mapping - They are executed on client machine from web browser itself. All
information is loaded along with the image. It executes quickly.
2) Server side mapping - In this the program that executes the links is placed on the
server. The browser activates program on the server by sending x and y
coordinates of the position where hyperlink was created.
Client Side mapping
In Client side mapping, the image map is mentioned by using USEMAP attribute in the
<img> tag. The map is specified in the <map> and <area> tags, which defines the hotspot in
an image.
For specifying the areas of the hotspot, the <area> tag is used within <map> tag.
The attributes for <area> tag are as follows:
shape :- specifies as values rect, circle and poly
rect - for defining rectangle area, upper left and right bottom (X,Y) coordinates.
circle - for defining circle area, coordinates of center point and radius is specified.
poly - for defining polygon area, 3 or more pair of coordinated to form polygon
coords :- specifies coordinates for rectangle, circle and polygon
href :- specifies path of html file or URL of website.
alt :- specifies alternate text given to hotspot
11. 11 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
E.g. Client side image mapping
mapexample.html
<html>
<body>
<img src="images/globe.jpg" usemap="#test">
<map name="test">
<area shape="rect" coords="22,37,123,97" href="page1.html">
<area shape="circle" coords="406,38,30" href="page2.html">
<area shape="poly" coords="48,169,142,234,50,248" href="page3.html">
</map>
</body>
</html>
The coordinates for the shape are found by opening the globe.jpg picture in Paint by
placing the arrow over the points and note down the coordinates.
Server Side mapping
In Server side mapping the map details are placed on the server. The browser activates
program on the server by sending x and y coordinates of the position where the hyperlink
was created. On receiving the coordinates the program on the server looks at the map file
for close match and then loads the file that is closet to coordinates.
In Server side mapping, the image map is mentioned by using ISMAP attribute in the <img>
tag.
The map details are save in a text file with the extension .map and place this file in the
same folder in which html document containing the image is placed.
E.g. Server side image mapping - the map is written in globe.map file which is placed
on server
globe.map
Default http://exza.in/xyz.html
Rect http://exza.in/page1.html 22,37,123,97
Circle http://exza.in/page2.html 286, 90, 45
Poly http://exza.in/page3.html 48,169,142,234,50,248
12. 12 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
mapexample.html
<html>
<body>
<a href="http://exza,in/globe.map> <img src="images/globe.jpg" ISMAP> </a>
</body>
</html>
The href attribute of <a> tag specifies the location of external map file and server side
image map program on the web server. The <img> tag is reference for the mapped file. The
ISMAP attribute in the <img> tag specifies that the image is mapped file. ISMAP indicates a
server side image map.
13. 13 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
FORMS
Forms are used to accept or input the data from user. The form consists of objects
called form elements or form controls.
E.g. Text box, Password box, Radio button, List box, Command button, submit button, Drop
list box, Check box, etc.
To create forms, <form> tag is used. All the elements are placed within <form> </form>
tags.
<input> tag: Used to create the form fields or controls by using type attribute.
Textbox or Text input field
Used to input text in a single line.
E.g. <input type=text name="fname">
Password field
Used to type password (displays * or . )
E.g. <input type=password name="pwd">
Submit button
Creates submit button, used to send form data to server for processing.
E.g. <input type=submit value="submit">
Example - Simple LOGIN form
<html>
<head>
<title>Login Form</title>
</head>
<body>
<h1> User Login</h1>
User ID: <input type=text name="loginid" size=15>
<br><br>
Password: <input type=password name="pwd">
<br><br>
<input type=submit value="login">
</body>
</html>
14. 14 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Radio button
It's a toggle button and only one option can be selected from a group of radio buttons.
E.g. <input type=radio name=gender value="M">
<input type=radio name=gender value="F">
Check box
Used to select one or more options from number of choices
E.g. <input type=checkbox name=hobby value="Cri">
<input type=checkbox name=hobby value="Bas">
Button field
It is used to display a command button to which we can assign a function (task).
Clicking the button will activate a function.
E.g. <input type=button name=button1 onclick="function();">
Attributes of <input> tag:
Name - assigns a name to form field.
Size - specifies the display size of a text box
Maxlength - limits the number of character that a user can enter in a text field.
Value - It is used to assign a default value to text box.
Type - It indicates the type of form objects like text (default), radio, submit, reset,
checkbox, etc.
Checked - It is used to specify default selection for radio button and check box.
id - used to provide a id to the field (used in CSS)
Select list box or Drop down list box
The <select> tag is used to select an option from menu kind of drop-down list or scrolling
list box.
E.g.
<select name=city>
<option value=mum>Mumbai</option>
<option value=thn>Thane</option>
<option value=kyn>Kalyan</option>
</select>
15. 15 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Attributes of <select>:
Name - It is used to specify a name to the select box. Assigns a label to selection.
Size - Specifies the number of list items to be displayed at one time.
Multiple - Allows the user to select multiple options.
<textarea> tag
It is used to create multiline textbox or large editable area.
E.g.
<textarea rows=3 cols=40>
</textarea>
Attributes of <textarea> tag:
Name - assigns a name to the text area
Rows - specifies the height of the text area in number of lines.
Cols - specifies the width of the text area in no. of columns /characters.
Hidden field
The purpose of the hidden field is to store the value that need to be sent to server along
with form. The browser does not display these values.
E.g. <input type=hidden name=xyz value=256>
Attributes of <form> tag:
Method - It specifies the method of sending form data to the server.
There are two methods:
GET - It appends the data to the URL in name/value pairs.
POST - sends the form data hidden in HTTP headers not visible on the screen.
Action - It specifies the location/path or URL of the server where the form data is to be
submitted.
Name - assigns a name to the form.
E.g.
<form method=post name=form1 action="http://www.exza.in/getdata.php">
16. 16 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Inserting Sound and Video into Web page
Popular Sound/Audio formats:
.WAV - developed by Microsoft and IBM. It is the standard format for Windows.
.AIFF - (Audio Interchange File Format) developed by Apple for MAC platform
.Ra - (Real Audio Format) is lower quality audio format (smaller in size)
.MP3 - MP3 (MPEG-1 Audio Layer-3) is a standard technology and format for
compressing a sound sequence into a very small file (about one-twelfth the size of the
original file) while preserving the original level of sound quality when it is played. MP3
provides near CD quality audio.
.AU - (Audio) developed by Sun Microsystems for UNIX platform
.MIDI - (Musical Instrumental Digital Interface) - format used for instrumental
music, very small in size
.RMF - It is a wrapper for audio formats like .wav, .au, .aiff, .mp3 and MIDI. The purpose
of the format is to encrypt the data and to store MIDI and sounds together.
Linking to audio file
We can use <a> tag to link an audio resource on your computer or web.
E.g.
<a href="music/background.mp3">
Click here to play
</a>
Adding sound/audio to web pages
<bgsound>
To add background sound to html pages <bgsound> tag is used.
It is supported by only Internet Explorer
It has no control attribute (play, stop, pause buttons)
e.g.
<bgsound src="music/background.wav" loop=2>
Attributes:
Src - specify the name of audio file
Loop - specifies the number of times the file must be played.
E.g. loop="infinite" or loop=-1
loop=2
17. 17 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
<embed> tag
It is used to insert audio as well as video both.
It provides console for controlling.
E.g. <embed src="music/quit.mp3" height=100 Width=200>
Attributes of <embed> tag:
Src - Specifies the name of audio or video file.
Autostart - specifies whether audio should start on page load. It has two values true or
false.
True value plays music when page is loaded.
False value will play music when user clicks play button.
Hidden - It is to hide the console. True value hides the console.
Volume - Sets the volume of music. Values from 1 to 100 can be set. Default is 50.
Width - specifies the width of the console.
Height - specifies the height of the console.
Controls - specifies console size Values - console or small consoles
Value console gives the complete console with play, stop and pause button.
Video formats
.AVI (Audio Video Interleave) - format developed by Microsoft for Windows platform.
.WMV (Windows Media video) - developed by Mircosoft
.QT (Quick Time) - format developed by Apple for MAC platform
.MPG / .MPEG / .MP4 - formats developed by Moving Picture experts group, popular
format on web.
.flv - developed by Adobe Flash (low quality)
Adding video to the web page
<embed> tag is used to insert video on the web page.
E.g.
<embed src="videos/sample.mp4" height=480 width=640>
Adding video using <img> tag
<img> tag along with DYNSRC attribute is used to insert video in the web page.
E.g. <img DYNSRC="videos/sample.mp4" height=480 width=640>
18. 18 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Cross Browser Testing
Introduction
With wide range of web browsers available, end users using different web browsers to
access your web site/applications, it has now become crucial to test web site/applications
on multiple browsers. On different browsers, client components like HTML, JavaScript, AJAX
requests, Applets, Flash, etc. may behave differently.
Testing your website on different browsers is knows as Cross Browser Testing.
Cross Browser Testing is a process to test web applications across multiple browsers.
It involves checking compatibility of your application across multiple web browsers and
ensures that your web application works correctly across different web browsers.
It involves testing both the client side and server side behavior of your Web application
when it is accessed using different Web Browsers.
It shows limitation of the web site and functional features.
Some Popular Browsers:
In every browser and platform the website will look and work differently.
Every web browser comes with variations and differences in the way a web page is
displayed and works.
Examples:
1. <bgsound> tag is only supported by Internet Explorer and not by Netscape Navigator,
Chrome, Firefox, Opera, etc..
19. 19 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
2. Broken image - an image in a web page whose path is not found or path is wrong or file
name is given is wrong. Internet Explorer shows broken images with a red color sign along
with alternative text. In Netscape Navigator, it shows 3 color dots with alternative text.
3. <hr> tag Horizontal rule - The appearance is different in browsers. In Internet Explorer it
shows 3D effect, whereas in Netscape Navigator it show rule (line) in regular manner.
4. bordercolorlight and bordercolordark - attributes of <table> tag are supported in
Internet Explorer but not supported in Netscape Navigator.
5. bgproperties=fixed - This attribute used in <body> tag makes background image water
marked in Internet Explorer, but moves with text in Netscape Navigator.
6. Outset Border - Outset border style given to paragraph tag is shown in Internet Explorer
and not in Netscape navigator.
7. <blink> tag is not supported in Internet Explorer and other browsers which blinks the
text, but supported in Netscape Navigator.
20. 20 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
CSS SYNTAX
A CSS rule-set consists of a selector and a declaration block:
What is CSS?
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be displayed on screen, paper, or in other
media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
CSS is used to define styles for your web pages, including the design, layout and
variations in display for different devices and screen sizes.
External stylesheets are stored in CSS files
The selector points to the HTML element you want to style.
The declaration block contains one or more declarations separated by
semicolons.
Each declaration includes a CSS property name and a value, separated by
a colon.
A CSS declaration always ends with a semicolon, and declaration blocks are
surrounded by curly braces.
Example:
p {
color: red;
text-align: center;
}
21. 21 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Three Ways to Insert CSS
There are three ways of inserting a style sheet:
External style sheet
Internal style sheet
Inline style
1. EXTERNAL STYLE SHEET
With an external style sheet, you can change the look of an entire website by
changing just one file!
Each page must include a reference to the external style sheet file inside the <link>
element. The <link> element goes inside the <head> section:
An external style sheet can be written in any text editor. The file should not contain
any html tags. The style sheet file must be saved with a .css extension.
Example:
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
Here is how the "myStyle.css" looks:
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
Note: Do not add a space between the property value and the unit (such
as margin-left:20px;). The correct way is: margin-left:20px;
2. INTERNAL STYLE SHEET
An internal style sheet may be used if one single page has a unique style.
Internal styles are defined within the <style> element, inside the <head> section of
an HTML page:
Example:
<head>
<style>
body {
background-color: linen;
}
22. 22 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
h1 {
}
color: maroon;
margin-left: 40px;
</style>
</head>
3. INLINE STYLES
An inline style may be used to apply a unique style for a single element.
To use inline styles, add the style attribute to the relevant element. The style
attribute can contain any CSS property.
The example below shows how to change the color and the left margin of a <h1>
element:
Example:
<h1 style="color:blue;margin-left:30px;">This is a heading.</h1>
Note: If some properties have been defined for the same selector (element) in
different style sheets, the value from the last read style sheet will be used.
CSS SELECTORS
CSS selectors are used to "find" (or select) HTML elements based on their element
name, id, class, attribute, and more.
THE ELEMENT SELECTOR
The element selector selects elements based on the element name.
Example:
p {
text-align: center;
color: red;
}
THE ID SELECTOR
The id selector uses the id attribute of an HTML element to select a specific
element.
The id of an element should be unique within a page, so the id selector is
used to select one unique element!
To select an element with a specific id, write a hash (#) character, followed
by the id of the element.
23. 23 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
</p>
THE CLASS SELECTOR
The class selector selects elements with a specific class attribute.
To select elements with a specific class, write a period (.) character, followed
by the name of the class.
Example:
.center {
text-align: center;
color: red;
}
GROUPING SELECTORS
If you have elements with the same style definitions, it will be better to group the
selectors, to minimize the code.
To group selectors, separate each selector with a comma.
Example:
h1, h2, p {
text-align: center;
color: red;
}
Example:
#para1 {
text-align: center;
color: red;
}
<p id="para1">
.....................................................
...................................................
24. 24 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Important CSS properties
Color - The color property specifies the color of text.
Example:
body {
color: red;
}
h1 {
color: #00ff00;
}
Background-image - The background-image property sets one or more background images for an
element. By default, a background-image is placed at the top-left corner of an element, and
repeated both vertically and horizontally.
Example:
body {
background-image: url("img_tree.gif"), url("paper.gif");
background-color: #cccccc;
}
Background-color - Set the background color for a page:
Example:
body {background-color: coral;}
Background - Set different background properties in one declaration for background color, image,
position, size, attachment, etc.
Example:
body {
background: lightblue url("img_tree.gif") no-repeat fixed center;
}
Border - The border property is a shorthand property for:
border-width
border-style (required)
border-color
Example:
h1 {
border: 5px solid red;
}
h2 {
border: 4px dotted blue;
}
25. 25 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Text-align - The text-align property specifies the horizontal alignment of text in an element.
Values are left|right|center|justify|initial|inherit;
Example:
div {
text-align: center;
}
Text-decoration - The text-decoration property specifies the decoration added to text, and is a
shorthand property for:
text-decoration-line (required)
text-decoration-color
text-decoration-style
Example:
h1 {
text-decoration: overline;
}
h2 {
text-decoration: line-through;
}
h3 {
text-decoration: underline;
}
h4 {
text-decoration: underline overline;
}
Font - The font property is a shorthand property for:
font-style
font-variant
font-weight
font-size/line-height
font-family
The font-size and font-family values are required. If one of the other values is missing, their default
value are used.
Example:
p {
font: italic bold 12px/30px Georgia, serif;
}
Font-size - The font-size property sets the size of a font.
div {
font-size: 15px;
}
26. 26 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Font-family - The font-family property specifies the font for an element.
The font-family property can hold several font names as a "fallback" system. If the browser does
not support the first font, it tries the next font.
Example:
H2 {
font-family: "Times New Roman", Times, serif;
}
Font-style - The font-style property specifies the font style for a text. Values are
normal|italic|oblique|initial|inherit
Example:
p {
font-style: italic;
}
font-weight - The font-weight property sets how thick or thin characters in text should be
displayed.
The values are - normal|bold|bolder|lighter|number|initial|inherit;
Example:
p {
font-weight: bold;
}
letter-spacing - The letter-spacing property increases or decreases the space between characters
in a text. The values are normal|length|initial|inherit;
Example:
h2 {
letter-spacing: 2px;
}
Float - The float property specifies how an element should float.
Example:
img {
float: right;
}
Margin - The margin property sets the margins for an element, and is a shorthand property for the
following properties:
margin-top
margin-right
margin-bottom
margin-left
27. 27 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Example:
p {
margin: 35px;
}
p {
margin: 10px 5px 15px 20px;
}
Padding - An element's padding is the space between its content and its border.
The padding property is a shorthand property for:
padding-top
padding-right
padding-bottom
padding-left
Example:
Example:
p {
padding: 35px;
}
z-index - The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.
Example:
img {
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
}
Position - The position property specifies the type of positioning method used for an element
(static, relative, absolute, fixed, or sticky).
Example:
h2 {
position: absolute;
left: 100px;
top: 150px;
}
28. 28 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
Value Description
Static Default value. Elements render in order, as they appear
in the document flow
Absolute The element is positioned relative to its first positioned
(not static) ancestor element
Fixed The element is positioned relative to the browser window
Relative The element is positioned relative to its normal position,
so "left:20px" adds 20 pixels to the element's LEFT
position
Sticky The element is positioned based on the user's scroll
position
A sticky element toggles between relative and fixed,
depending on the scroll position. It is positioned relative
until a given offset position is met in the viewport - then
it "sticks" in place (like position:fixed).
Note: Not supported in IE/Edge 15 or earlier. Supported
in Safari from version 6.1 with a -webkit- prefix.
Initial Sets this property to its default value.
Inherit Inherits this property from its parent element.
Top - The top property affects the vertical position of a positioned element. This property has no
effect on non-positioned elements.
Example:
div {
position: absolute;
top: 50px;
border: 3px solid green;
}
29. 29 | P a g e By Aafreen Shaikh , afreenshaikh0624 @ g m a i l . c o m
AAFREEN SHAIKH (CSJC JALGAON)
A web server consists of a physical server, server operating system (OS) and software used to facilitate
HTTP communication like IIS, Apache, etc.
When you type a Web site address into your browser, Web servers are doing the work of getting you the
page you request.
Every Web server has an IP address and possibly a domain name.
Examples of Web Server Programs:
What is Web Server?
A Web server is a program running on a Computer that uses HTTP (Hypertext Transfer Protocol) to serve
the files that form Web pages to users, in response to their requests, which are forwarded by their
computers' HTTP clients (Web Browsers).
Web server is a computer that hosts websites and web pages i.e. where the web content is stored.
Microsoft Internet Information Services (IIS)
Microsoft Personal Web Server (PWS)
Apache HTTP Server
Sun Java System Web Server
Lighttpd
*********