HTML & CSS Basics for ECE Students
HTML & CSS Basics for ECE Students
CHAPTER - 1
INTRODUCTION
In the bustling city of Bangalore, India’s technological hub, Blitz Jobs Bangalore has
established itself as a prominent recruitment agency. With a strong presence in the city, the
agency has built a reputation for providing comprehensive staffing solutions to various
industries. Founded on the principles of innovation, integrity, and excellence, Blitz Jobs
Bangalore has become a trusted partner for businesses seeking top talent. Their expertise
lies in understanding the unique needs of clients and delivering personalized recruitment
services, making them a leader in the recruitment industry.
With a team of experienced professionals and a cutting-edge approach, Blitz Jobs
Bangalore has revolutionized the way businesses approach hiring. Their commitment to
excellence has earned them a loyal client base across diverse sectors. Whether it’s
permanent staffing, temporary staffing, contract staffing, or recruitment process
outsourcing, Blitz Jobs Bangalore has the expertise to deliver exceptional results.
CHAPTER - 2
Blitz Jobs Bangalore is a dynamic recruitment agency that has transformed the way
businesses approach talent acquisition. Since its inception in 2020, the company has
experienced rapid growth, becoming a leading recruitment firm in Bangalore. Their success
can be attributed to their team of experienced professionals, led by industry experts, who
have a deep understanding of the local job market and the evolving needs of businesses.
The company's innovative approach to recruitment has earned them a reputation for
delivering top talent to clients across various industries. Their services are designed to cater
to the unique needs of each client, ensuring that they receive the best possible solutions.
With a strong focus on building long-term relationships, Blitz Jobs Bangalore has become
a trusted partner for businesses seeking reliable recruitment services.
MANAGEMENT :
The management team at Blitz Jobs Bangalore is comprised of seasoned professionals with
a proven track record in recruitment, HR, and talent management. The leadership team
includes:
Rajesh Kumar (CEO): A veteran in the recruitment industry, Rajesh has over a decade of
experience in building and leading high-performing teams. His expertise in strategic
planning and business development has been instrumental in the company’s growth.
Priya Rajesh (Director): With a background in HR and talent management, Priya brings
a unique perspective to the company’s strategic planning and growth. Her expertise in talent
acquisition and management has been invaluable to the company’s success.
Akash Singh (Head of Operations): Akash is an expert in recruitment process outsourcing
and has successfully implemented numerous RPO projects for leading clients. His expertise
in process optimization and talent management has streamlined the company’s operations.
COMPANY PROFILE :
Blitz Jobs Bangalore is a private limited company with a strong presence in Bangalore.
Their services include:
- Permanent Staffing: Expertise in placing top talent in permanent positions across various
industries, including IT, finance, healthcare, and more.
- Temporary Staffing: Specialized in providing temporary staff for short-term projects and
assignments, ensuring that clients have the flexibility to meet their changing needs.
- Contract Staffing: Offers contract staffing solutions for businesses requiring specialized
skills, ensuring that clients have access to top talent on a project basis.
- Recruitment Process Outsourcing (RPO): Partners with clients to manage their entire
recruitment process, providing a comprehensive solution for all their staffing needs.
- Executive Search: Expertise in placing senior-level professionals in key positions,
ensuring that clients have the leadership talent they need to drive business success.
Vision: To be the preferred recruitment partner for clients across industries, driving
business success through top talent acquisition, strategic partnerships, and exceptional
services. By 2025, Blitz Jobs Bangalore aims to expand its presence to five major cities in
India, solidifying its position as a leading recruitment agency in the country. They envision
a future where they are recognized as a pioneer in the recruitment industry, known for their
innovative approach, exceptional services, and commitment to excellence.
CHAPTER - 3
HTML
3.1 HTML
HTML (HyperText Markup Language) is the most basic building block of the Web. It
defines the meaning and structure of web content. Other technologies besides HTML are
generally used to describe a web page's appearance/presentation or functionality/ behavior.
"Hypertext" refers to links that connect web pages to one another, either within a single
website or between websites. Links are a fundamental aspect of the Web. By uploading
content to the Internet and linking it to pages created by other people, you become an active
participant in the World Wide Web.
Html document explaination The declaration defines that this document is an HTML5
document The element is the root element of an HTML page
The <head> element contains meta information about the HTML page
The <title> element specifies a title for the HTML page (which is shown in the browser's
title bar or in the page's tab) The <body> element defines the document's body, and is a
container for all the visible contents, such as headings, paragraphs, images, hyperlinks,
tables, lists, etc.
The <h1> element defines a large heading
The <p> element defines a paragraph
INLINE CSS
An inline CSS is used to apply a unique style to a single HTML element.
An inline CSS uses the style attribute of an HTML element.
The following example sets the text color of the <h1> element to blue, and the text color
of the <p> element to red:
INTERNAL CSS
An internal CSS is used to define a style for a single HTML page. An
internal CSS is defined in the <head> section of an HTML page, within a
<style> element.
The following example sets the text color of ALL the <h1> elements (on that page) to
blue, and the text color of ALL the <p> elements to red. In addition, the page will be
displayed with a "powderblue" background color:
<!DOCTYPE html>
<html>
<head> <style> body {background-
color: powderblue;} h1 {color: blue;} p
{color: red;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
EXTERNAL CSS
An external style sheet is used to define the style for many HTML pages.
To use an external style sheet, add a link to it in the <head> section of each HTML page:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
OUTPUT:
This is a Heading
This is a Paragraph
CHAPTER - 4
CSS
4.1 CSS
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation
of a document written in HTML or XML (including XML dialects such as SVG,
MathML or XHTML). CSS describes how elements should be rendered on screen, on
paper, in speech, or on other media.
CSS is among the core languages of the open web and is standardized across Web browsers
according to W3C specifications. Previously, development of various parts of CSS
specification was done synchronously, which allowed versioning of the latest
recommendations.
Each technique has its uses, advantages, and disadvantages. No technique is designed to
be used in isolation. By understanding what each layout method is designed for you'll be
in a good position to understand which method is most appropriate for each task.
<!DOCTYPE html>
<html>
Dept. of ECE 2023-2024 10
WEB DEVELOPMENT RGIT
<head> <style> p
{ color: red;
text-align: center;
}
</style>
</head>
<body>
<p>Hello World!</p>
<p>These paragraphs are styled with CSS.</p>
</body>
</html>
OUTPUT:
Hello World!
CHAPTER - 5
JAVASCRIPT
if (condition) {
statement_1; }
else {
statement_2;
}
5.3 Functions
Functions are one of the fundamental building blocks in JavaScript. A function in JavaScript
is similar to a procedure—a set of statements that performs a task or calculates a value, but
for a procedure to qualify as a function, it should take some input and return an output where
there is some obvious relationship between the input and the output. To use a function, you
must define it somewhere in the scope from which you wish to call it.
<!DOCTYPE html>
<html>
<body>
</body>
</html>
OUTPUT:
CHAPTER - 6
PHP
6.1 PHP
PHP is a widely used server-side programming language that’s become increasingly fast and
powerful over the years. PHP works well with HTML and databases, making it a great
language for anyone interested in building dynamic web applications.
Performance:
PHP script is executed much faster than those scripts which are written in other languages
such as JSP and ASP. PHP uses its own memory, so the server workload and loading time is
automatically reduced, which results in faster processing speed and better performance.
Open Source:
PHP source code and software are freely available on the web. You can develop all the
versions of PHP according to your requirement without paying any cost. All its components
are free to download and use.
<!DOCTYPE html>
<html>
<body>
</body>
</html>
OUTPUT:
CHAPTER – 7
RUBY ON RAILS
7.1 Ruby on Rails
Ruby on Rails or also known as rails is a server-side web application development
framework that is written in the Ruby programming language, and it is developed by
David Heinemeier Hansson under the MIT License. It supports MVC(model-view-
controller) architecture that provides a default structure for database, web pages, and web
services, it also uses web standards like JSON or XML for transfer data and HTML, CSS,
and JavaScript for the user interface. It emphasizes the use of other well-known software
engineering pattern and paradigms like:
Example:
def salute
puts "Hello #{@name}!"
end
end
OUTPUT:
Hello Ruby!
Rails:
• An extremely productive web-application framework.
• Written in Ruby by David Heinemeier Hansson.
• You could develop a web application at least ten times faster with Rails than you
could with a typical Java framework.
• An open source Ruby framework for developing database-backed web
applications.
• Configure your code with Database Schema.
• No compilation phase required.
Rails Strengths
Rails is packed with features that make you more productive, with many of the following
features building on one other.
Metaprogramming
Where other frameworks use extensive code generation from scratch, Rail framework uses
Metaprogramming techniques to write programs. Ruby is one of the best languages for
Metaprogramming, and Rails uses this capability well. Rails also uses code generationbut
relies much more on Metaprogramming for the heavy lifting.
Active Record
Rails introduces the Active Record framework, which saves objects into the database. The
Rails version of the Active Record discovers the columns in a database schema and
automatically attaches them to your domain objects using metaprogramming.
Scaffolding
You often create temporary code in the early stages of development to help get an
application up quickly and see how major components work together. Rails automatically
creates much of the scaffolding you'll need.
Built-in testing
Rails creates simple automated tests you can then extend. Rails also provides supporting
code called harnesses and fixtures that make test cases easier to write and run. Ruby can
then execute all your automated tests with the rake utility.
Three environments
Rails gives you three default environments: development, testing, and production. Each
behaves slightly differently, making your entire software development cycle easier. For
example, Rails creates a fresh copy of the Test database for each test run.
Dept. of ECE 2023-2024 19
WEB DEVELOPMENT RGIT
CHAPTER - 8
PROJECT -1
Simple Calculator:
“Simple Calculator” is an app that will make us learn more depth about HTML, CSS and
basics of JS and we implement all these together to make a beautiful responsive calculator.
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Basic Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="calculator">
<input type="text" id="result" readonly>
<div class="buttons">
<button class="clear">C</button>
<button class="operator">/</button>
<button class="operator">*</button>
<button class="operator">-</button>
<button class="number">7</button>
<button class="number">8</button>
<button class="number">9</button>
<button class="operator">+</button>
<button class="number">4</button>
<button class="number">5</button>
<button class="number">6</button>
<button class="equals">=</button>
<button class="number">1</button>
<button class="number">2</button>
<button class="number">3</button>
<button class="number">0</button>
<button class="decimal">.</button>
With the foundation laid, it’s time to add the visual charm that CSS
provides. CSS brings aesthetics and layout to our calculator, making it
visually appealing to users. Here’s a snippet of the CSS code that gives
life to our calculator’s appearance
* {
box-sizing: border-box;
margin: 0;
}
.calculator {
background-color: black;
padding: 20px;
max-width: 400px;
margin: 0 auto;
border: solid 1px #ccc;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
border-radius: 10px;
margin-top: 40px;
}
#result{
background-color: yellowgreen;
width: 100%;
padding: 10px;
font-size: 24px;
border: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) inset;
border-radius: 5px;
}
.buttons{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
margin-top: 20px;
}
button{
padding: 10px;
font-size: 24px;
border: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
border-radius: 5px;
cursor: pointer;
button:hover{
background-color: #ddd;
}
.clear{
background-color: #ff4136;
color: #fff;
}
.number, .decimal{
background-color: #fff;
color: #333;
.operator{
background-color: #0074d9;
color: #fff;
}
.equals{
background-color: #01ff70;
grid-row: span 3;
color: #fff;
}
function clearResult()
{
result.value="";
}
function calculateResult()
{
result.value =eval(result.value);
}
function appendValue(buttonValue)
{
result.value = result.value + buttonValue;
}
CHAPTER - 9
CONCLUSION
The internship from Blitz Jobs was very useful. The training was effective and taught us the
efficient ways to build solutions to the problem statements within a given time. The best part
about internships was that relevant experience and knowledge about various technologies. The
trainer had a different way of teaching where he made sure that we understood the concepts
by giving us time to practice the concepts practically. The effective training throughout the
internship helped us to take the assessment without any difficulties.
The idea of internship program sees merit in attempting to shorten the period on training that
is often significant duration to orient the trainee or newly inducted person onto the project. The
internship covered the concepts of front end development techniques like HTML, CSS,
JavaScript that is used to design web apps, games and much more. It is and has great tools,
libraries and frameworks.
In this Front-End Development internship, we learnt the basics like HTML structure, Elements,
Forms, CSS. We also got an opportunity to know about JavaScript, PHP and Ruby on Rails.
We also did two assignment and project on Web Development.
The internship session has been a great learning journey helping the participants in the
internship program to understand the concepts of Web Development. It also helped us improve
our logical thinking. It helped us to improve our communication skills. They taught us to
manage the time so that we could code maximum in limited or specified time. We realized that
soft skills contribute to a positive work environment and help us maintain an efficient
workflow.