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.
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.
Get this Course
https://www.udemy.com/javascript-course-dom/?couponCode=SLIDESHARE
Document Object Model Power your websites make things happen online - JavaScript to create interactive web pages
Source code making it easy for you to try the code and experiment learning the code.
Challenges and tips to get you coding quickly.
Make you web pages come to life
DOM what it is
Element selection
Multiple element selection
Element manipulation - update content and select attributes
Elements and classes add remove and toggle
Traversing children and parents
Element style attribute
Challenge #1 image popup window
Create elements
Click events
Challenge #2 click event create elements
Challenge #3 click change background
Event Object
Key press event
Mouse move events
Challenge #4 - List items advanced remove,create element, click
Event bubbling and capturing
No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.
HTML describes the structure and content of web pages using tags. It uses tags like <p> for paragraphs and <img> to embed images. Common tags also include <head> for metadata, <body> for visible content, and <html> to enclose the entire page. HTML forms allow creating interactive elements like text fields, checkboxes, and buttons to collect user input. HTML5 is the latest version and introduces new semantic elements, multimedia capabilities, and APIs for building web applications.
HTML5 introduces many new features for web pages and applications, including semantic HTML tags, media elements, canvas drawing, geolocation, offline storage, and forms validation. The HTML5 specification from the W3C is over 900 pages and introduces these new features to enhance the capabilities of web technologies going forward.
Get The Knowledge and Advance of HTML
Block-level Elements:
A block-level element always starts on a new line.
A block-level element always takes up the full width available.
A block level element has a top and a bottom margin, whereas an inline element does not.
The <div> element is a block-level element.
HTML Block and Inline Elements describes different HTML elements and their uses. Block-level elements like <div> and <p> always start on a new line and take up the full width available, while inline elements like <span> only take up as much width as needed and do not start a new line. The document also provides examples of using <div>, <span>, and other common HTML tags.
The document discusses new features in HTML5 including semantic elements like <nav> and <article>, new form input types, multimedia with <video> and <canvas>, offline web apps, CSS3 features like columns and transforms, local storage in JavaScript, and expectations for widespread HTML5 support on mobile devices in 2013.
The document discusses the DOM tree and DOM traversal in JavaScript. It defines different types of DOM nodes like element nodes and text nodes. It describes properties and methods for traversing the DOM tree upwards and downwards, as well as selecting groups of elements. It discusses creating, modifying, and removing DOM nodes and common issues around manipulating the DOM tree with innerHTML versus using standard DOM methods.
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.
Get this Course
https://www.udemy.com/javascript-course-dom/?couponCode=SLIDESHARE
Document Object Model Power your websites make things happen online - JavaScript to create interactive web pages
Source code making it easy for you to try the code and experiment learning the code.
Challenges and tips to get you coding quickly.
Make you web pages come to life
DOM what it is
Element selection
Multiple element selection
Element manipulation - update content and select attributes
Elements and classes add remove and toggle
Traversing children and parents
Element style attribute
Challenge #1 image popup window
Create elements
Click events
Challenge #2 click event create elements
Challenge #3 click change background
Event Object
Key press event
Mouse move events
Challenge #4 - List items advanced remove,create element, click
Event bubbling and capturing
No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.
HTML describes the structure and content of web pages using tags. It uses tags like <p> for paragraphs and <img> to embed images. Common tags also include <head> for metadata, <body> for visible content, and <html> to enclose the entire page. HTML forms allow creating interactive elements like text fields, checkboxes, and buttons to collect user input. HTML5 is the latest version and introduces new semantic elements, multimedia capabilities, and APIs for building web applications.
HTML5 introduces many new features for web pages and applications, including semantic HTML tags, media elements, canvas drawing, geolocation, offline storage, and forms validation. The HTML5 specification from the W3C is over 900 pages and introduces these new features to enhance the capabilities of web technologies going forward.
Get The Knowledge and Advance of HTML
Block-level Elements:
A block-level element always starts on a new line.
A block-level element always takes up the full width available.
A block level element has a top and a bottom margin, whereas an inline element does not.
The <div> element is a block-level element.
HTML Block and Inline Elements describes different HTML elements and their uses. Block-level elements like <div> and <p> always start on a new line and take up the full width available, while inline elements like <span> only take up as much width as needed and do not start a new line. The document also provides examples of using <div>, <span>, and other common HTML tags.
The document discusses new features in HTML5 including semantic elements like <nav> and <article>, new form input types, multimedia with <video> and <canvas>, offline web apps, CSS3 features like columns and transforms, local storage in JavaScript, and expectations for widespread HTML5 support on mobile devices in 2013.
The document discusses the DOM tree and DOM traversal in JavaScript. It defines different types of DOM nodes like element nodes and text nodes. It describes properties and methods for traversing the DOM tree upwards and downwards, as well as selecting groups of elements. It discusses creating, modifying, and removing DOM nodes and common issues around manipulating the DOM tree with innerHTML versus using standard DOM methods.
This document provides an overview of key HTML elements and tags used to structure and format web pages. It discusses high-level tags like <html>, <head>, and <body> that define the overall page structure. It also covers lower-level tags for text formatting, links, images, lists, forms, and tables. The document is intended to break down HTML code into its basic components and examples to explain their functions.
HTML5 is a language for structuring and presenting content for the World Wide Web. it is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and as of February 2012 is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). It improves interoperability and reduces development costs by making precise rules on how to handle all HTML elements, and how to recover from errors
This document provides an introduction to Bootstrap, an open-source front-end framework for building responsive mobile-first websites and web applications. It discusses the basics of web development using HTML, CSS, and JavaScript. It then explains what Bootstrap is, how to add it to a website, and how to use its grid system, forms, buttons, and other common elements. Resources for using, customizing and finding additional components for Bootstrap are also provided.
This document provides information on key HTML elements and tags used to structure and format web pages. It discusses common tags for headings, paragraphs, lists, links, images, and forms. It also describes attributes that can be added to tags to specify styling, sizing, and other formatting options.
This document provides an overview of common HTML elements and their functions. It explains elements for structuring pages like <html>, <head>, <body>, as well as text elements, links, images, lists, forms, tables, multimedia embedding, and new HTML5 elements. The document acts as a reference for anyone looking to learn the basics of HTML elements and their attributes.
A guide for beginners “Bootstrap is a free, open-source front-end library for designing websites and web applications. It contains HTML- and CSSbased design templates for everything from typography, forms, buttons, navigation and other interface components as well as JavaScript extensions. Unlike many other web
frameworks, Bootstrap concerns itself with front-end development only.” — Wikipedia
This document provides an overview of Bootstrap, a popular front-end framework for building responsive and mobile-first websites. It discusses how Bootstrap uses media queries and a mobile-first approach to achieve responsiveness across different devices. The document also covers getting started with Bootstrap, its grid system, layouts, forms, and workshops for using Bootstrap components. Finally, it lists some advantages and disadvantages of Bootstrap as well as resources for using and customizing it.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
This document provides descriptions and examples of various HTML tags. It explains basic HTML structure using tags like <html>, <head>, <title>, <body>. It also provides examples of common text formatting tags like <b>, <i>, <u> and examples of lists, tables, forms and inputs using tags like <ul>, <ol>, <table>, <form>, <input>. It is intended as a reference for the basic tags used to structure and style HTML documents.
This document provides an overview of Polymer and web components. It introduces key concepts like custom elements, shadow DOM, HTML imports, and templates. It demonstrates how to define a custom element and component API. It also covers Polymer features like data binding, DOM repeat, and CSS styling. Various tools for Polymer development are presented, like the Polymer CLI, Bower, and Web Components Tester. Examples of implementing common elements and integrating Polymer in applications are given.
Bootstrap is a free front-end framework for building responsive, mobile-first websites. It includes HTML and CSS templates for common elements like typography, forms, buttons, navigation, tables, images and more. Bootstrap also utilizes a responsive 12-column grid system and is compatible with all modern browsers. Websites built with Bootstrap are automatically responsive on devices ranging from small phones to large desktops.
The document provides an overview of building potent WordPress websites. It discusses themes, plugins, and tips for WordPress development. The document is divided into three parts: the appearance (themes), plugins, and tips/tricks. Under themes, it covers starting points, child themes, frameworks, modular design, goals, potential paths like shortcodes and custom fields, stylesheets, scripts, and content section types. The plugins section discusses hooks, actions, and filters. The tips/tricks section was not included in the summary.
Esoft Metro Campus - Diploma in Web Engineering - (Module III) Coding HTML for Basic Web Designing
(Template - Virtusa Corporate)
Contents:
Introduction to HTML
HTML Versions
HTML Standards
Creating a Simple HTML Document
Document Type Declaration
Comments in HTML
HTML Attributes
Paragraphs
Line Break
Headings
Text Formatting
Font Formatting
Images
Hyperlinks
Page Body
Lists
Tables
Cell Merging in a Table
Table Attributes
Horizontal Rule
Iframes
HTML Blocks
Division
Span
Audio
Video
Youtube Videos
Forms and Input
Introduction to CSS
Advantages of Using CSS
CSS Syntax
CSS Comments
How to Insert CSS?
CSS Tag, ID and Class Selectors
Grouping and Nesting Selectors
CSS Backgrounds
CSS Text
CSS Fonts
CSS Links
CSS Lists
CSS Tables
CSS Box Model
CSS Dimension
CSS Display - Block and Inline
CSS Positioning
CSS Float
CSS Alignment
Navigation Menu in CSS
The document provides an overview of Bootstrap, including:
- Bootstrap is an open-source HTML, CSS, and JS framework for developing responsive mobile-first websites and web apps.
- It contains utilities for typography, forms, buttons, navigation, and other interface components, as well as optional JavaScript extensions.
- The document describes various Bootstrap components like grids, navigation, buttons, forms, images, alerts, progress bars, and panels. It provides code examples for how to implement these components.
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
Lecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
The document describes how to:
1. Create an ASP.NET MVC controller by right clicking on the "Controller" folder in solution explorer and selecting "Add" then "Controller".
2. Design ASP.NET MVC models using metadata for data values.
3. Create an ASP.NET MVC 4 application in Visual Studio by selecting "ASP.NET Web Application" and checking the "MVC" checkbox.
The document discusses a template-based modular architecture for advanced JavaScript applications. It covers key concepts like modular design, modules, templates, and a dispatcher. For modules, it describes elements, encapsulation, and advantages like independence and decomposability. It then covers templates for importing styles, scripts, and HTML. The dispatcher section explains principles like Uniform Module Identifiers and strategies for dispatching and routing. A case study demonstrates system decomposition into modules and their development. The document concludes with discussions around module deployment and performance improvements.
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
This document provides an overview of key HTML elements and tags used to structure and format web pages. It discusses high-level tags like <html>, <head>, and <body> that define the overall page structure. It also covers lower-level tags for text formatting, links, images, lists, forms, and tables. The document is intended to break down HTML code into its basic components and examples to explain their functions.
HTML5 is a language for structuring and presenting content for the World Wide Web. it is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and as of February 2012 is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). It improves interoperability and reduces development costs by making precise rules on how to handle all HTML elements, and how to recover from errors
This document provides an introduction to Bootstrap, an open-source front-end framework for building responsive mobile-first websites and web applications. It discusses the basics of web development using HTML, CSS, and JavaScript. It then explains what Bootstrap is, how to add it to a website, and how to use its grid system, forms, buttons, and other common elements. Resources for using, customizing and finding additional components for Bootstrap are also provided.
This document provides information on key HTML elements and tags used to structure and format web pages. It discusses common tags for headings, paragraphs, lists, links, images, and forms. It also describes attributes that can be added to tags to specify styling, sizing, and other formatting options.
This document provides an overview of common HTML elements and their functions. It explains elements for structuring pages like <html>, <head>, <body>, as well as text elements, links, images, lists, forms, tables, multimedia embedding, and new HTML5 elements. The document acts as a reference for anyone looking to learn the basics of HTML elements and their attributes.
A guide for beginners “Bootstrap is a free, open-source front-end library for designing websites and web applications. It contains HTML- and CSSbased design templates for everything from typography, forms, buttons, navigation and other interface components as well as JavaScript extensions. Unlike many other web
frameworks, Bootstrap concerns itself with front-end development only.” — Wikipedia
This document provides an overview of Bootstrap, a popular front-end framework for building responsive and mobile-first websites. It discusses how Bootstrap uses media queries and a mobile-first approach to achieve responsiveness across different devices. The document also covers getting started with Bootstrap, its grid system, layouts, forms, and workshops for using Bootstrap components. Finally, it lists some advantages and disadvantages of Bootstrap as well as resources for using and customizing it.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
This document provides descriptions and examples of various HTML tags. It explains basic HTML structure using tags like <html>, <head>, <title>, <body>. It also provides examples of common text formatting tags like <b>, <i>, <u> and examples of lists, tables, forms and inputs using tags like <ul>, <ol>, <table>, <form>, <input>. It is intended as a reference for the basic tags used to structure and style HTML documents.
This document provides an overview of Polymer and web components. It introduces key concepts like custom elements, shadow DOM, HTML imports, and templates. It demonstrates how to define a custom element and component API. It also covers Polymer features like data binding, DOM repeat, and CSS styling. Various tools for Polymer development are presented, like the Polymer CLI, Bower, and Web Components Tester. Examples of implementing common elements and integrating Polymer in applications are given.
Bootstrap is a free front-end framework for building responsive, mobile-first websites. It includes HTML and CSS templates for common elements like typography, forms, buttons, navigation, tables, images and more. Bootstrap also utilizes a responsive 12-column grid system and is compatible with all modern browsers. Websites built with Bootstrap are automatically responsive on devices ranging from small phones to large desktops.
The document provides an overview of building potent WordPress websites. It discusses themes, plugins, and tips for WordPress development. The document is divided into three parts: the appearance (themes), plugins, and tips/tricks. Under themes, it covers starting points, child themes, frameworks, modular design, goals, potential paths like shortcodes and custom fields, stylesheets, scripts, and content section types. The plugins section discusses hooks, actions, and filters. The tips/tricks section was not included in the summary.
Esoft Metro Campus - Diploma in Web Engineering - (Module III) Coding HTML for Basic Web Designing
(Template - Virtusa Corporate)
Contents:
Introduction to HTML
HTML Versions
HTML Standards
Creating a Simple HTML Document
Document Type Declaration
Comments in HTML
HTML Attributes
Paragraphs
Line Break
Headings
Text Formatting
Font Formatting
Images
Hyperlinks
Page Body
Lists
Tables
Cell Merging in a Table
Table Attributes
Horizontal Rule
Iframes
HTML Blocks
Division
Span
Audio
Video
Youtube Videos
Forms and Input
Introduction to CSS
Advantages of Using CSS
CSS Syntax
CSS Comments
How to Insert CSS?
CSS Tag, ID and Class Selectors
Grouping and Nesting Selectors
CSS Backgrounds
CSS Text
CSS Fonts
CSS Links
CSS Lists
CSS Tables
CSS Box Model
CSS Dimension
CSS Display - Block and Inline
CSS Positioning
CSS Float
CSS Alignment
Navigation Menu in CSS
The document provides an overview of Bootstrap, including:
- Bootstrap is an open-source HTML, CSS, and JS framework for developing responsive mobile-first websites and web apps.
- It contains utilities for typography, forms, buttons, navigation, and other interface components, as well as optional JavaScript extensions.
- The document describes various Bootstrap components like grids, navigation, buttons, forms, images, alerts, progress bars, and panels. It provides code examples for how to implement these components.
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
Lecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
The document describes how to:
1. Create an ASP.NET MVC controller by right clicking on the "Controller" folder in solution explorer and selecting "Add" then "Controller".
2. Design ASP.NET MVC models using metadata for data values.
3. Create an ASP.NET MVC 4 application in Visual Studio by selecting "ASP.NET Web Application" and checking the "MVC" checkbox.
The document discusses a template-based modular architecture for advanced JavaScript applications. It covers key concepts like modular design, modules, templates, and a dispatcher. For modules, it describes elements, encapsulation, and advantages like independence and decomposability. It then covers templates for importing styles, scripts, and HTML. The dispatcher section explains principles like Uniform Module Identifiers and strategies for dispatching and routing. A case study demonstrates system decomposition into modules and their development. The document concludes with discussions around module deployment and performance improvements.
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPRAHUL
This Dissertation explores the particular circumstances of Mirzapur, a region located in the
core of India. Mirzapur, with its varied terrains and abundant biodiversity, offers an optimal
environment for investigating the changes in vegetation cover dynamics. Our study utilizes
advanced technologies such as GIS (Geographic Information Systems) and Remote sensing to
analyze the transformations that have taken place over the course of a decade.
The complex relationship between human activities and the environment has been the focus
of extensive research and worry. As the global community grapples with swift urbanization,
population expansion, and economic progress, the effects on natural ecosystems are becoming
more evident. A crucial element of this impact is the alteration of vegetation cover, which plays a
significant role in maintaining the ecological equilibrium of our planet.Land serves as the foundation for all human activities and provides the necessary materials for
these activities. As the most crucial natural resource, its utilization by humans results in different
'Land uses,' which are determined by both human activities and the physical characteristics of the
land.
The utilization of land is impacted by human needs and environmental factors. In countries
like India, rapid population growth and the emphasis on extensive resource exploitation can lead
to significant land degradation, adversely affecting the region's land cover.
Therefore, human intervention has significantly influenced land use patterns over many
centuries, evolving its structure over time and space. In the present era, these changes have
accelerated due to factors such as agriculture and urbanization. Information regarding land use and
cover is essential for various planning and management tasks related to the Earth's surface,
providing crucial environmental data for scientific, resource management, policy purposes, and
diverse human activities.
Accurate understanding of land use and cover is imperative for the development planning
of any area. Consequently, a wide range of professionals, including earth system scientists, land
and water managers, and urban planners, are interested in obtaining data on land use and cover
changes, conversion trends, and other related patterns. The spatial dimensions of land use and
cover support policymakers and scientists in making well-informed decisions, as alterations in
these patterns indicate shifts in economic and social conditions. Monitoring such changes with the
help of Advanced technologies like Remote Sensing and Geographic Information Systems is
crucial for coordinated efforts across different administrative levels. Advanced technologies like
Remote Sensing and Geographic Information Systems
9
Changes in vegetation cover refer to variations in the distribution, composition, and overall
structure of plant communities across different temporal and spatial scales. These changes can
occur natural.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
How to Manage Your Lost Opportunities in Odoo 17 CRMCeline George
Odoo 17 CRM allows us to track why we lose sales opportunities with "Lost Reasons." This helps analyze our sales process and identify areas for improvement. Here's how to configure lost reasons in Odoo 17 CRM
Main Java[All of the Base Concepts}.docxadhitya5119
This is part 1 of my Java Learning Journey. This Contains Custom methods, classes, constructors, packages, multithreading , try- catch block, finally block and more.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
4. <tr>
<td>DOB</td>
<td><input type="text" name="dob" id="dob" size="30"></td>
</tr>
<tr>
<td>MobileNo</td>
<td><input type="text" name="mobileno" id="mobileno" size="30"></td>
</tr>
<tr>
<td>
<input type="reset">
</td>
<td colspan="2">
<input type="submit" value="Submit Form" />
</td>
</tr>
</table>
</body>
</html>
output
Week 2:
To create an html page with differenttypes of frames such as floating frame, navigationframe &
mixed frame
5. Program:
Mainpage.html
<html>
<body>
<a href="frames.html" target="two">navigation frame</a><br>
<a href="floatingframe.html" target="two">floating frame</a><br>
<a href="Noframe.html" target="two">no frame</a><br>
<a href="mixedframe.html" target="two">mixed frame</a><br>
</body>
</html>
Frame.html
<html>
<frameset cols="20%,35%,*" scrolling="no" noresize>
<frame name="one" src="MainPage.html"></frame>
<frame src="aa.gif"></frame>
<frame name="two" src="hulk.gif"></frame>
</frameset>
</html>
Floatingframe.html
<html>
<body>
<p> Explanation: There is a problem with the page you are trying to reach and it
cannot be displayed. Try the following:
* Refresh page: Search for the page again by clicking the Refresh button. The timeout may have
occurred due to Internet congestion.
* Check spelling: Check that you typed the Web page address correctly. The
address may have been mistyped.
* Access from a link: If there is a link to the page you are looking for, try accessing
6. the page from that link.
If you are still not able to view the requested page, try contacting you
<iframe src="bb.gif" height="225" width="500">
</iframe>
<iframe src="MainPage.html" height="50%" width="50%">
</iframe>
</body>
</html>
Mixedframe.html
<html>
<frameset cols="30%,*">
<frame src="pic.html"></frame>
<frameset rows="50%,*">
<frame src="video.html" autostart="true">
<frame src="Q3.html" >
</frameset>
</frameset>
</html>
navigationframe.html
<html>
<frameset cols="25%,*" scrolling="no" noresize>
<frame name="one" src="MainPage.html">
</frame>
<frame name="two" ></frame>
<frameset rows="30%,*">
<frame src="hulk.gif">
</frame>
</frameset>
</html>
7. pic.html
<html>
<body>
<img src="ghanendra.jpg" height="650" width="400">
</body>
</html>
video.html
<html>
<body bgcolor="aqua">
<embed src="aa.mp4" width="600" height="300" autostart="true">
</embed>
</body>
</html>
Week 3:
Design the webpageby applying the differentstyles using inline, external & internal style sheets.
Program:
Inline.html:
<html>
<head>
<title>Example of HTML Inline Styles</title>
</head>
<body>
<h1 style="color:red;font-size:30px;">This is a heading</h1>
<p style="color:green;font-size:18px;">This is a paragraph.</p>
<hr style="border-color:blue;">
</body>
</html>
8. Internal.html:
<html>
<head>
<title>Example of HTML Embedded Style Sheet</title>
<style type="text/css">
body { background-color: YellowGreen; }
h1 { color: red; }
p { color: green; }
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
External Style Sheet(link & import)
link.html:
<html>
<head>
<title>Example of HTML External Style Sheet</title>
<link rel="stylesheet" type="text/css" href=" style.css">
</head>
<body>
<h1>Linking External Style Sheet</h1>
<p>The styles of this HTML document are defined in linked style sheet.</p>
</body>
</html>
import.html:
<html>
<head>
9. <meta charset="UTF-8">
<title>Example of CSS @import rule</title>
<style type="text/css">
@import url("/examples/css/style.css");
body {
color:blue;
font-size:14px;
}
</style>
</head>
<body>
<div>
<h1>Importing External Style Sheet</h1>
<p>The layout styles of dese HTML element is dfnd in style.css'.</p>
</div>
</body>
</html>
Style.css:
body {
background-color: powderblue;
}
h1 {
color: blue;
}
p {
color: red;
}
main.html
<html>
<body>
10. <h2><a href="inline.html">inline style</a></h2>
<h2><a href="internal.html">internal style</a></h2>
<h2><a href="link.html">link style</a></h2>
<h2><a href="import.html">import style</a></h2>
</body>
</html>
output
week 4:
Write a java script program to read .XML file and display data in a neat format.
The XMLFile
You can open libbhanu.xml file to view it. Copy the contents of the file and save it in your
computer and name it as library.xml, because we are using the same file name in our example.
You can change the name of the file according to your choice later.
ExtractData from XML
After creating the XML file (also called XML document), we will write JavaScript to read and
extract data from the file. The HTML DIV element is a lightweight container, so we decided to
use a DIV element to display the XML data on our web page.
Tabular format
We want to display data in a tabular format with couple of columns. The columns will show
the Bookname and Category respectively.
To show data in tabular formats (i.e. in two columns), we need to use two more DIV elements
inside the main DIV, which serves as a container. We will use CSS to place both the DIV
elements side-by-side.
libbhanu.xml :
<Library>
<List>
13. border:solid 1px #000;
overflow:hidden;
}
#books div {
width:180px;
text-align:left;
border:solid 1px #000;
margin:1px;
padding:2px 5px;
}
.col1 {
float:left;
clear:both;
}
.col2 {
float:right;
}
</style>
</head>
<body>
<div id="books"></div>
</body>
<script>
var oXHR = window.XMLHttpRequest ? new XMLHttpRequest() : new
ActiveXObject('Microsoft.XMLHTTP');
function reportStatus() {
if (oXHR.readyState == 4) // REQUEST COMPLETED.
showTheList(this.responseXML); // ALL SET. NOW SHOW XML DATA.
}
oXHR.onreadystatechange = reportStatus;
oXHR.open("GET", "libbhanu.xml", true); // true = ASYNCHRONOUS REQUEST
(DESIRABLE), false = SYNCHRONOUS REQUEST.
14. oXHR.send();
function showTheList(xml)
{
var divBooks = document.getElementById('books'); // THE PARENT DIV.
var Book_List = xml.getElementsByTagName('List'); // THE XML TAG NAME.
for (var i = 0; i < Book_List.length; i++) {
// CREATE CHILD DIVS INSIDE THE PARENT DIV.
var divLeft = document.createElement('div');
divLeft.className = 'col1';
divLeft.innerHTML =
Book_List[i].getElementsByTagName("BookName")[0].childNodes[0].nodeValue;
var divRight = document.createElement('div');
divRight.className = 'col2';
divRight.innerHTML =
Book_List[i].getElementsByTagName("Category")[0].childNodes[0].nodeValue;
// ADD THE CHILD TO THE PARENT DIV.
divBooks.appendChild(divLeft);
divBooks.appendChild(divRight);
}
};
</script>
</html>
output
Week 5:
15. To write a Javascriptprogramto define a user defined function for sorting the values in an
array. Use HTML5 for user interface.
<html>
<body>
<h1>My First JavaScript</h1>
<p>JavaScript can change the content of an HTML element:</p>
<button type="button" onclick="myFunction()">Click Me!</button>
<p id="demo">This is a demonstration.</p>
<script>
function myFunction() {
var fruits = ['apple', 'orange', 'banana'];
var numbers = [10, 20, 2, 3, 0, 500];
for(var i =0;i<numbers.length;i++){
for(var j= i+1;j<numbers.length;j++){
if(numbers[i]>numbers[j]){
var swap = numbers[i];
numbers[i] = numbers[j];
numbers[j] = swap;
}
}
}
show_array(fruits);
show_array(numbers);
}
function show_array(array) {
var text = '';
for(var i in array) {
text += array[i];
text += 'n';
}
alert(text);
}
</script>
16. </body>
</html>
Dynamic reading of variables from textbox and sorting:
<html>
<head>
<script type="text/javascript">
<!--
function RunTest()
{
var a= document.forms[0].elements[0].value;
try {
alert("Value of variable a is : " + a );
}
catch ( e ) {
alert("Error: " + e.description );
}
}
//-->
</script>
</head>
<body>
<p>Click the following to see the result:</p>
<form>
<input type="text" name="txtJob" id="txtJob" >
<input type="button" value="Click Me" onclick="RunTest();"
</form>
</body>
18. Week 6:
To create an html page to demonstrate exception handling in javascript
Create an html page named as ―exception.html‖ and do the following.
i. within the script tag write code to handle exception
a) define a method RunTest() to get any string values(str) from the user and call the
method Areletters(str).
b) In Areletters(str) method check whether str contain only alphabets (a-z, A-Z), if
not throw exception.
c) Define a exception method Input Exception(str) to handle the exception thrown
by the above method.
ii. Within the body tag define a script tag to call Runtest() method define.
<html>
<body>
Enter the data
<input id="demo" type="text">
<button type="button" onclick="RunTest()">Test Input</button>
<p id="message"></p>
<script type="text/javascript">
function RunTest()
{
var message, x,y;
message = document.getElementById("message");
message.innerHTML = " ";
x = document.getElementById("demo");
try {
19. alert(x);
var letters = /^[A-Za-z]+$/;
y=x.value.match(letters);
if(y)
document.writeln("this string is accepted");
else
throw "not a string";
}
catch(err) {
message.innerHTML = "Input is " + err;
}
}
</script>
</body>
</html>
Output:
After Entering the values in the text box, it it is String ,it is accepted.otherwise it shows as error.
20. Week 7
Write a jsp servlet program to implement the single text field calculator.
One.html
<html>
<body>
<form method=”get” action=”./CalculateServlet”>
Number 1 : <input type=”text” name=”no1″> <br>
Number 2 : <input type=”text” name=”no2″> <br>
Operator :
<select name=”opt”>
<option value=”p”> + </option>
<option value=”m”> – </option>
<option value=”mul”> * </option>
<option value=”d”> / </option>
22. Output
After entering the values,based on the selection of operation,the result will be displayed on the
browser.
Week 8
Write a jsp servlet program to demonstrate session handling using
url rewriting
hidden formfield
cookies
sessions
login.html
<!DOCTYPE html>
<html>
<head>
<meta charset="US-ASCII">
26. For More Programs visit:
https://www.journaldev.com/1907/java-session-management-servlet-httpsession-url-rewriting
week 9:
To create a php program to demonstrate the different predefined function in array,
Math, Data & Regular Expression.
Procedure:
Create php file named as Regularexpression.php
for demonstrating the method for handling various strings with regular expression
Array.php
for demonstrating the methods for handling the array values Math_function.php
to demonstrate the predefined in math objects. Date_time.php to demonstrate the
predefined function in date subject.
27. week 10:
Write a program in PHP for a simple email processing with attachment using forms
One.html
<form method="POST" name="email_form_with_php"
action="php-form-action.php" enctype="multipart/form-data">
<label for='name'>Name: </label>
<input type="text" name="name" >
<label for='email'>Email: </label>
<input type="text" name="email" >
<label for='message'>Message:</label>
<textarea name="message"></textarea>
<label for='uploaded_file'>Select A File To Upload:</label>
<input type="file" name="uploaded_file">
<input type="submit" value="Submit" name='submit'>
</form>
Send-email-form.php
<?php
// Pear library includes
// You should have the pear lib installed
include_once('Mail.php');
include_once('Mail_Mime/mime.php');
//Settings
$max_allowed_file_size = 100; // size in KB
$allowed_extensions = array("jpg", "jpeg", "gif", "bmp");
$upload_folder = './uploads/'; //<-- this folder must be writeable by the script
$your_email = 'tom@amazing-designs.com';//<<-- update this to your email address
$errors ='';
if(isset($_POST['submit']))
{
//Get the uploaded file information
$name_of_uploaded_file = basename($_FILES['uploaded_file']['name']);
//get the file extension of the file
$type_of_uploaded_file = substr($name_of_uploaded_file,
strrpos($name_of_uploaded_file, '.') + 1);
$size_of_uploaded_file = $_FILES["uploaded_file"]["size"]/1024;
28. ///------------Do Validations-------------
if(empty($_POST['name'])||empty($_POST['email']))
{
$errors .= "n Name and Email are required fields. ";
}
if(IsInjected($visitor_email))
{
$errors .= "n Bad email value!";
}
if($size_of_uploaded_file > $max_allowed_file_size )
{
$errors .= "n Size of file should be less than $max_allowed_file_size";
}
//------ Validate the file extension -----
$allowed_ext = false;
for($i=0; $i<sizeof($allowed_extensions); $i++)
{
if(strcasecmp($allowed_extensions[$i],$type_of_uploaded_file) == 0)
{
$allowed_ext = true;
}
}
if(!$allowed_ext)
{
$errors .= "n The uploaded file is not supported file type. ".
" Only the following file types are supported:
".implode(',',$allowed_extensions);
}
//send the email
if(empty($errors))
{
//copy the temp. uploaded file to uploads folder
$path_of_uploaded_file = $upload_folder . $name_of_uploaded_file;
$tmp_path = $_FILES["uploaded_file"]["tmp_name"];
if(is_uploaded_file($tmp_path))
{
if(!copy($tmp_path,$path_of_uploaded_file))
{
$errors .= 'n error while copying the uploaded file';
}
}
//send the email
$name = $_POST['name'];
29. $visitor_email = $_POST['email'];
$user_message = $_POST['message'];
$to = $your_email;
$subject="New form submission";
$from = $your_email;
$text = "A user $name has sent you this message:n $user_message";
$message = new Mail_mime();
$message->setTXTBody($text);
$message->addAttachment($path_of_uploaded_file);
$body = $message->get();
$extraheaders = array("From"=>$from, "Subject"=>$subject,"Reply-
To"=>$visitor_email);
$headers = $message->headers($extraheaders);
$mail = Mail::factory("mail");
$mail->send($to, $headers, $body);
//redirect to 'thank-you page
header('Location: thank-you.html');
}
}
///////////////////////////Functions/////////////////
// Function to validate against any email injection attempts
function IsInjected($str)
{
$injections = array('(n+)',
'(r+)',
'(t+)',
'(%0A+)',
'(%0D+)',
'(%08+)',
'(%09+)'
);
$inject = join('|', $injections);
$inject = "/$inject/i";
if(preg_match($inject,$str))
{
return true;
}
else
{
return false;
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>File upload form</title>
30. <!-- define some style elements-->
<style>
label,a, body
{
font-family : Arial, Helvetica, sans-serif;
font-size : 12px;
}
</style>
<!-- a helper script for vaidating the form-->
<script language="JavaScript" src="scripts/gen_validatorv31.js" type="text/javascript"></script>
</head>
<body>
<?php
if(!empty($errors))
{
echo nl2br($errors);
}
?>
<form method="POST" name="email_form_with_php"
action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" enctype="multipart/form-
data">
<p>
<label for='name'>Name: </label><br>
<input type="text" name="name" >
</p>
<p>
<label for='email'>Email: </label><br>
<input type="text" name="email" >
</p>
<p>
<label for='message'>Message:</label> <br>
<textarea name="message"></textarea>
</p>
<p>
<label for='uploaded_file'>Select A File To Upload:</label> <br>
<input type="file" name="uploaded_file">
</p>
<input type="submit" value="Submit" name='submit'>
</form>
<script language="JavaScript">
// Code for validating the form
// Visit http://www.javascript-coder.com/html-form/javascript-form-validation.phtml
// for details
var frmvalidator = new Validator("email_form_with_php");
frmvalidator.addValidation("name","req","Please provide your name");
frmvalidator.addValidation("email","req","Please provide your email");
frmvalidator.addValidation("email","email","Please enter a valid email address");
34. Week 12
Write a program in PHP to add, update and delete using student database
Insert data
<?php
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "myDB";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "INSERT INTO MyGuests (firstname, lastname, email)
VALUES ('John', 'Doe', 'john@example.com')";
if ($conn->query($sql) === TRUE) {
echo "New record created successfully";
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
$conn->close();
?>
Delete data
<?php
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "myDB";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
35. }
// sql to delete a record
$sql = "DELETE FROM MyGuests WHERE id=3";
if ($conn->query($sql) === TRUE) {
echo "Record deleted successfully";
} else {
echo "Error deleting record: " . $conn->error;
}
$conn->close();
?>
Update data
?php
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "myDB";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "UPDATE MyGuests SET lastname='Doe' WHERE id=2";
if ($conn->query($sql) === TRUE) {
echo "Record updated successfully";
} else {
echo "Error updating record: " . $conn->error;
}
$conn->close();
?>
Output:
New record created successfully
Record deleted successfully
Record updated successfully
36. Week 13
Create a DTD to describe a library. Library has one or more books, members and staffs.
Each book has BookID(Attribute), Title, one or more Authors, Publisher Year of
Publication, ISBN and Price.
Each Member has MemeberID(Attribute), Name, Address, Phone number.
Each Staff has StaffID(Attribute), Name, Address, Phone number.
Each Author has AuthorID(Attribute), Name, Address, Phone number.
Each Publisher has PublisherID(Attribute), Name, Address, Phone number.
Use it in a XML document.
libbhanu.xml :
<Library>
<List>
<code>1</code>
<BookName>Computer Architecture</BookName>
<Category>Computers</Category>
<Price>125.60</Price>
</List>
<List>
<code>2</code>
<BookName>Advanced Composite Materials</BookName>
<Category>Science</Category>
<Price>172.56</Price>
</List>
<List>
<code>3</code>
<BookName>Asp.Net 4 Blue Book</BookName>
<Category>Programming</Category>
<Price>56.00</Price>
</List>
<List>
<code>4</code>
<BookName>Stategies Unplugged</BookName>
<Category>Science</Category>
39. </body>
<script>
var oXHR = window.XMLHttpRequest ? new XMLHttpRequest() : new
ActiveXObject('Microsoft.XMLHTTP');
function reportStatus() {
if (oXHR.readyState == 4) // REQUEST COMPLETED.
showTheList(this.responseXML); // ALL SET. NOW SHOW XML DATA.
}
oXHR.onreadystatechange = reportStatus;
oXHR.open("GET", "libbhanu.xml", true); // true = ASYNCHRONOUS REQUEST
(DESIRABLE), false = SYNCHRONOUS REQUEST.
oXHR.send();
function showTheList(xml)
{
var divBooks = document.getElementById('books'); // THE PARENT DIV.
var Book_List = xml.getElementsByTagName('List'); // THE XML TAG NAME.
for (var i = 0; i < Book_List.length; i++) {
// CREATE CHILD DIVS INSIDE THE PARENT DIV.
var divLeft = document.createElement('div');
divLeft.className = 'col1';
divLeft.innerHTML =
Book_List[i].getElementsByTagName("BookName")[0].childNodes[0].nodeValue;
var divRight = document.createElement('div');
divRight.className = 'col2';
divRight.innerHTML =
Book_List[i].getElementsByTagName("Category")[0].childNodes[0].nodeValue;
// ADD THE CHILD TO THE PARENT DIV.
divBooks.appendChild(divLeft);
divBooks.appendChild(divRight);
}
41. Create a DTD to describe a Computer.A computer has following details,
Type of computer (this is an attribute), Which can be Desktop PC, Laptop,Palm Top, Server,
Minicomputer or mainframe)
A Monitor with Serial Number (Attribute), Make, Model, Year of manufacture,Size, Type
(which is either colour or monochrome)
A keyboard with Serial Number (Attribute), Make, Model, Year of manufacture,No of keys,
Type( which is either Standard or Enhanced or Multimedia)
A mouse with Serial Number (Attribute), Make, Model, Year of manufacture,No of buttons,
Scroll wheel (which is yes or no), Type (Which is Ball or Optical
A Mother board with Serial Number (Attribute),Make,Model,Year ofmanufacture, No of USB
ports, No of IDE slots, No of SATA hubs, No of PCIslots, Display Type(Which is VGA or HDMI),
Number of Processor slots, Typeof Processors supported (must be a list), Type of RAM
supported (Which iseither SD or DDR1 or DDR2 or RD), Maximum Capacity of RAM, Form
Factor(which is either AT or Baby AT), On Board sound card (Which is yes or no)
A Microprocessor with Serial Number (Attribute), Make, Model, Year ofmanufacture, speed
(in GHz), No of Cores (Single, Dual, Quad)
A power supply with Serial Number (Attribute), Make, Model, Year ofmanufacture, Type (AT,
ATX), Wattage One or more hard disks, each Hard disk must have Serial Number (Attribute),
Make, Model, Year of manufacture, capacity and type (Which is IDE or SATAIor SATAII, SCSI)
One or more RAM SIMM, with Serial Number (Attribute), Make, Model, Year of manufacture,
Type (which must be SD, DDRI, DDRII, RD), capacity, operating frequency.
Use it in a XML document.
Week 15:
42. Create a Schema to describe a Computer. Use the previous question‘s details and
show an instance XML document
Week 16:
43. Create a Schema to describe a library. Library has one or more - books, members
and staffs.
Each book has BookID(Attribute), Title, one or more Authors, Publisher Year
of Publication, ISBN and Price.
Each Member has MemeberID(Attribute), Name, Address, Phone number.
Each Staff has StaffID(Attribute), Name, Address, Phone number.
Each Author has AuthorID(Attribute), Name, Address, Phone number.
Each Publisher has PublisherID(Attribute), Name, Address, Phone number.
Use the above DTD in a sample XML document.
book.dtd
<!ELEMENT bookdetails (books+)>
<!ELEMENT books (title,author,edition,price)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT edition (#PCDATA)>
<!ELEMENT price (#PCDATA)>
book.xml
<?xml version="1.0"?>
<!DOCTYPE bookdetails SYSTEM "book.dtd">
<?xml:stylesheet type="text/xsl" href="book.xsl"?>
<bookdetails>
<books>
<title> C </title>
<author> Balaguruswamy </author>
<edition> Edition-II </edition>
<price>$30.00</price>
</books>
<books>
<title> C++ </title>
<author> yaswanth kanethkar </author>
<edition> Edition-I </edition>
<price>$35.00</price>
</books>
<books>
<title> JAVA </title>
<author> Herbert Schildt </author>
<edition> Edition-IV </edition>
45. Week 17:
Create a DTD to describe a bank that has one or more customers, accounts or
Employee.
Each Customerhas a CustomerID, Name and address.
Each account has an account ID, BranchID, CustomerID,AccountTypeand Balance.
Each Employee has aEmpID, Name,Designation,DOJ, Salary and
Address.
Use this DTD in a XML file.
46. Week 18:
Create Schema describe a bank that has one or more customers, accounts or depositors.Use the
previousquestionsdetails.Alsoshow a sample instance XML document