0% ont trouvé ce document utile (0 vote)
3 vues24 pages

Web 2

Le document présente une série d'expériences à réaliser par les étudiants, axées sur la conception de sites web à l'aide de HTML, CSS et JavaScript. Chaque expérience inclut un objectif, une théorie, et un exemple de code pour illustrer les concepts abordés, tels que la création de formulaires, la validation des données, et le développement de sites responsives. Les étudiants sont également encouragés à utiliser des technologies comme Node.js et MongoDB dans leurs projets.

Transféré par

sharmarohit209264208
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF ou lisez en ligne sur Scribd
0% ont trouvé ce document utile (0 vote)
3 vues24 pages

Web 2

Le document présente une série d'expériences à réaliser par les étudiants, axées sur la conception de sites web à l'aide de HTML, CSS et JavaScript. Chaque expérience inclut un objectif, une théorie, et un exemple de code pour illustrer les concepts abordés, tels que la création de formulaires, la validation des données, et le développement de sites responsives. Les étudiants sont également encouragés à utiliser des technologies comme Node.js et MongoDB dans leurs projets.

Transféré par

sharmarohit209264208
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF ou lisez en ligne sur Scribd
DETAILS OF EXPERIMENTS CONDUCTED (TO BE USED BY THE STUDENTS IN THEIR RECORDS) INDEX TITLE OF THE EXPERIMENTS FACULTY SIGNATURE Write HTML program for designing your institute website Display departmental information of your institute on the website. Write HTML program to design an entry form for student details/employee information/faculty details Develop a responsive website using CSS and HTML. Website may be for tutorial/blogs/commercial website, Write programs using HTML and Java Script for validation of input data Write a program in KML for creation of DTD, which specifies set of rules. Create a style sheet in CSS/ XSL & display the document in internet explorer. Create a Java Bean for Employee information (EmpID, Name, Salary, Designation and Department) Build a command-line utility using Node,js that performs a specific task, such as converting text to uppercase, calculating, the factorial of a number, or generating random passwords. Develop a script that uses MongoDB's aggregation framework to perform operations like grouping, filtering, and sorting, For instance, aggregate user data to find the average age of users, in different cities ‘Assume four users userd, user2, user3 and userd having the passwords pwd1, pwd2, pwd3 and pwd4 respectively. Write a servlet for doing the following: 1. Create a Cookie and add these four user id's and passwords to this Cookie. 2. Read the user id and passwords entered in the Login form and authenticate with the values available in the cookies. Create a table which should contain at least the following fields: name, password, email-id, phone number Write Servlet/JSP to connect to that database and extract data from the tables and display them, Insert the details of the users who register with the web site, whenever a new user clicks the submit button in the registration page. Write a JSP which insert the details of the 3 or 4 users who register with the web site by using registration form. Authenticate the user when he submits the login form using the user name and password from the database. Design and implement a simple shopping cart example with session tracking API. EXPERIMENT NO. : AIM: Write HTML program for designing your institute website. Display departmental information of your institute on the website. Theory: HTML (HyperText Markup Language) is the standard markup language used to create web pages. It consists of various elements such as headings, paragraphs, links, images, tables, forms, and more. CSS is used to control the layout and appearance of web pages. It can be applied inline, internally, or externally. Common CSS properties include color, font-size, background, margin, padding, etc. Code: Institute Website Welcome to Bharat Ratna Babasaheb Bhimrao Ambedkar Rajkiya Engineering Colle; Pratapgarh =p>Excellence in Education ection id="departments">

Departments

We have the following departments:

bsite Structure of a College Website R.E.C Pratapgarh

Registration Form

<1-- Email Field
EXPERIMENT NO. :- AIM: Write a program in XML for creation of DTD, which specifies set of rules. Createastyle sheet in CSS/ XSL & display the document in internet explorer. Procedure: XML Document Type Declaration, commonly known as DTD, is a way to describe precisely theXML language DTDs check the validity of structure and vocabulary of an XML document against the grammatical rules of the appropriate XML language An XML document can be defined as: Well-formed: If the XML document adheres to all the general XML rules such as tags must be properly nested, opening and closing tags must be balanced and empty tags must end with /, then it is called as well-formed. OR Valid: An XML document said to be valid when it is not only well-formed, but it also conforms to available DTD that specifies which tags it uses, what attributes those tags can contain, and which tags can occur inside other tags, among other properties Types: DTD can be classified on its declaration basis in the XML document, such as: ¢ Internal DTD * Extemal DTD When a DTD is declared within the file it is called Intemal DTD and if it is declared in a separate file it is called Extemal DTD. We will leem more about these in the chapter DTD Syntax. Syntax Basic syntax of a DTD is as follows: delimiter. ‘An element tells the parser to parse the document from the specified root element. DTD identifier is an identifier for the document type definition, which may be the path to a file on the systemor URL to a file on the intemet. If the DTD is pointing to extemal path, it is called extemal subset. The square brackets [] enclose an optional list of entity declarations called internal subset Code/Method: [Link]: s SYSTEM "[Link]"> /ess" href="[Link]"2> Learning XML John Doe OpenAl Publishing 29.99 Advanced HTML Jane Smith Tech Books 39.95 [Link] [Link] * Styling for the entire books list * books { display: block; font-family: Arial, san margin: 20px; padding: 20px; border: Ipx solid #ddd; background-color: #191919; } book { display: block; margin-bottom: 15px; padding: 10px; border-bottom: 1px solid ffece; } title { font-size: 20px; font-weight: bold; color: #333; } author, publisher, price { display: block; margin-top: 5px; font-size: 14px; color: #555; +

Vous aimerez peut-être aussi