8/5
## ADVANCED TOPICS:-
## Web page creation
- Website is a collection of web page
- Web page is collection of information
- Information is collection of data
- Data is a raw material
## Types of websites
1) Static website only for information purpose
2) Dynamic website where user can interact
## Website creating language
1) HTML
H-Hyper reference of next page
T-Text collection of words, symbols and characters
M-Markup it is a library stores the definition of all tags
L-Language mediator
## HTML syntax is called "tag"
<html> </html>
## Types of tag
1) Open tag <>
2) Close tag <> </>
ex. <p>
<z> </z>
## HTML structure
<html>
<head>
It is a optional section
</head>
<body>
Using called tag
</body>
</html>
## Demo Example:-
<html>
<body bgcolor='orange'>
<font color='red' size='6'>
Welcome
</font><br>
<hr><br>
<b>Welcome</b><br>
<i>Welcome</i><br>
<u>Welcome</u><br>
<del>1200</del><br>
1 <sup>st</sup><br>
H <sub>2</sub>o <br>
html listing
<br>
<ol type='i'>
<li>Nagpur</li>
<li>Delhi</li>
<li>Mumbai</li>
</ol><br>
<ul>
<li>Nagpur</li>
<li>Delhi</li>
<li>Mumbai</li>
</ul><br>
<address>Mahal, Nagpur </address><br>
<p>This is a paragraph tag.</p><br>
<center>This is the center.</center>
</body>
</html>
10/5
## Navigation
- For moving from one page to another page
## Types of navigation:-
1) Page to page navigation
2) Page to URL navigation
3) Page to document navigation
4) Page to API navigation
Navigation is written using <a> </a> called as anchor tag.
NOTE:- Embed is communication between 3rd party website to webpage
ex. Youtube, Fb, Twitter
## POINT TO REMEMBER:-
How to embed any video.
- Search video on youtube
- Share that video where you'll find the option as embed(click on that)
- You'll get one tag named as <iframe> copy the whole tag
- Next paste that tag into your respective code/prgm
- This video will show on your page that you've created.
##TASK:-
Create your biodata using navigation
- Intro
- Qualification
- Experience
- Contact (whatsapp link)
- Social media (fb, youtube, linkedin post embed)
<html>
<body>
<font size=5><h1 align="center">Biodata</h1></font>
<hr><br>
<font size=4>
<ul >
<b><li>Introduction</li></b><br>
Name: Amit Kelkar <br>
Address: Flatno. 203, Benegiri Niwas, Beside Shivaji Park, Shanti Nagar, Chandrapur-440032<br>
Email: amit.kelkar@gmail.com<br><br>
<b><li>Qualification</li></b><br>
Course: B.E.(Information Technology)<br>
Institute: KITS<br>
Year of passing: 2020<br>
CGPA/Percentage: 65% <br><br>
<b><li>Experience</li></b><br>
Company Name: Axiom Techguru Pvt. Ltd.<br>
Years of Experience:- 2<br><br>
<b><li>Contact</li></b><br>
Phone: 9876543210<br>
<a href="https://wa.me/918806638960"> Click here to contact on Whatsapp </a><br><br>
<b><li>Social Media</li></b><br>
<b>Facebook<br><br></b>
<iframe src="https://www.facebook.com/plugins/video.php?height=314&href=https%3A%2F%2Fwww.facebook.com%2FManpowerserconsulting%2Fvideos%2F255544782562455%2F&show_text=false&width=560" width="560" height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe><br><br>
<b>Youtube<br><br></b>
<iframe width="560" height="315" src="https://www.youtube.com/embed/w1V3gZv0ebY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</font>
</ul>
</body>
</html>
11/5
## HTML Image:-
There are 2 types
1) Background which we use in body tag as an attribute
2) Foreground <img>
NOTE:- HTML does not provide page arrangement, for arrangement we use CSS.
##HTML iFraming
- iFrame provide interface framing concept
- iFrame provide multiple view concept
##FORM TAG:-
<html>
<body>
<img src="coffee.jpg" height="120" width="120" border="5" ><br>
data movement in html<br>
<marquee direction="up" height="200" width="200" bgcolor="yellow"
behavior="alternate" scrollamount="5" scrolldelay="5">
<font color="red" size=7 > Welcome </font>
</marquee><br><br>
html form designing<br>
<form>
enter your name:<input type="textbox"><br><br>
enter your password: <input type="password"><br><br>
select your gender: <br>
male <input type="radio"> female <input type="radio"><br><br>
select your subject: <br>MCA <input type="checkbox"><br><br>
select your city: <br>
<select>
<option>Nagpur</option>
<option>Raipur</option>
<option>Mumbai</option>
<option>Delhi</option>
</select><br>
<br>
Write your message: <br>
<textarea>Write your message here</textarea><br><br>
<input type="button" value="submit" ><br><br>
<button>click</button>
</form>
</body>
</html>
EXPLANATION:-
- <marquee> is used to move the text on the page
- In <marquee> scrollamount and scrolldelay value should be same
## IFRAME TAG:-
<html>
<body>
<a href="be.html" target="f1">BE</a>
<a href="one.html" target="f1">One</a><br><br>
<iframe src="" height="500" width="500" name="f1">
</body>
</html>
EXPLANATION:-
-   is used for space
- name="f1" is name of that iframe
##TASK:-
Create biodata using iframe, form
- aboutus.html
- qualification.html
- experience.html
- contact.html(form- name, email, mobile, msg)
- social.html
- aboutus.html
<html>
<body align="center">
<h2> About Us <br>
<p> Welcome to our page </p></h2>
<img src="coffee.jpg">
<p> Coffee is a brewed drink prepared from roasted coffee beans, the seeds of berries from certain Coffea species. </p>
<img src="cof3.jpg" height="250" width="250">
<p> There are many benefits and uses of coffee. </p>
<p> Coffee has a unique taste, that is why many people likes coffee. </p>
</body>
</html>
- qualification.html
<html>
<body align="center">
<b><h2>Qualification</h2></b><br>
Course: <select>
<option> </option>
<option> Civil Engineering</option>
<option>Information Technology</option>
<option>Mechanical Engineering</option>
<option>Electrical Engineering</option>
<option>Electronics and Telecommunication</option>
<option>Computer Science</option>
<option>Chemical Engineering</option>
</select><br><br>
Institute: <input type="textbox"><br><br>
Year of passing: <select>
<option>YYYY</option>
<option>2015</option>
<option>2016</option>
<option>2017</option>
<option>2018</option>
<option>2019</option>
<option>2020</option>
</select><br><br>
CGPA/Percentage: <input type="number"><br><br>
<input type="button" value="submit" ><br><br>
</body>
</html>
- experience.html
<html>
<body align="center">
<b><h2> Work Experience</h2></b><br>
Company Name: <input type="textbox"><br><br>
Years of Experience: <select>
<option> </option>
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
</select><br>
<br>
<input type="button" value="submit" ><br><br>
</body>
</html>
- contact.html(form- name, email, mobile, msg)
<html>
<body>
<form align="center">
<b><h2> Contact </h2></b><br>
Name: <input type="textbox"><br><br>
Email: <input type="email"><br><br>
Mobile: <input type="tel"><br><br>
Message: <a href="https://wa.me/918806638960"> Click here to Whatsapp </a><br><br>
<input type="button" value="submit" ><br><br>
</form>
</body>
</html>
- social.html
- iframe2.html
<html>
<body>
<a href="aboutus.html" target="f2"> About Us
</a>
<a href="contact.html" target="f2"> Contact
</a>
<a href="social.html" target="f2"> Social Media
</a><br><br>
<iframe src="" height="500" width="800" name="f2">
</body>
</html>
12/5
## TASK:-
Create a ecommerce page
- Product page me
image hogaa
image ke niche whatsapp me ki link hogi
- About page me
ecommerce ke baare me paragraph hogaa
ecommerce ke feature
Order list me hogaa
- Social
YouTube video embed karna hai uske nich video ka title
Facebook icon image honaa chaiyia us per click kare to aapka Facebook profile open ho jaaye
Linkedin icon honaa chaiyia us per click kare to aapka linkdin page open ho jaaye
YouTube video lagaana hai or uske niche jo video hai uska title
Facebook ka image icon ko hyperlink karna hai
- product3.html
<html>
<body align="center">
<h2> List of Products </h2>
<img src="headphns.webp" height="150" width="150"><br><br>
Headphones<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
<img src="pendrive.jpg" height="150" width="150"><br><br>
Pendrive<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
<img src="wallclock.jpg" height="150" width="150"><br><br>
Wall Clock<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
<img src="wallhanging.jpg" height="300" width="150"><br><br>
Wall Hanging<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
<img src="printer.jpg" height="150" width="150"><br><br>
Printer<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
<img src="mix-grinder.jpg" height="150" width="150"><br><br>
Mixture Grinder Machine<br>
<a href="https://www.whatsapp.com" target="_blank"> Click here to know more </a><br><br><br><br>
</body>
</html>
- aboutus3.html
<html>
<body align="center">
<h2> About Us </h2>
<img src="ecomm.png">
<p> Ecommerce, also known as electronic commerce or internet commerce, refers to the buying and selling of goods or services using the internet, and the transfer of money and data to execute these transactions. </p><br>
<img src="ecomm1.png" height="500" width="700">
<p> Ecommerce is often used to refer to the sale of physical products online, but it can also describe any kind of commercial transaction that is facilitated through the internet.
Whereas e-business refers to all aspects of operating an online business, ecommerce refers specifically to the transaction of goods and services.
The history of ecommerce begins with the first ever online sale: on the August 11, 1994 a man sold a CD by the band Sting to his friend through his website NetMarket, an American retail platform. This is the first example of a consumer purchasing a product from a business through the World Wide Web—or “ecommerce” as we commonly know it today.
Since then, ecommerce has evolved to make products easier to discover and purchase through online retailers and marketplaces. Independent freelancers, small businesses, and large corporations have all benefited from ecommerce, which enables them to sell their goods and services at a scale that was not possible with traditional offline retail.
</p><br><br>
<ul align="left">
<b><h3>Features of Ecommerce :</h3></b><br><br>
<li><b>Ubiquity :</b>
internet/web tech is available everywhere. Market place can be created so shopping can happen anywhere</li>
<li><b>Global reach :</b>
tech reaches across national boundaries which makes marketspace potentially billions</li>
<li><b>Universal Standards :</b>
there is one set of tech standards, namely internet standards</li>
<li><b>Richness :</b>
Video, audio, and tech messages are possible</li>
<li><b>Interactivity :</b>
the tech works through interaction with the user</li>
<li><b>Information density :</b>
the tech reduces information costs, and raises quality</li>
<li><b>Personalization/Customization :</b>
the tech that allows personalized marketing messages to be deliver to individuals as well as groups</li>
<li><b>Social Technology :</b>
User content generation and social networks, enable user content creation and distribution</li>
</ul>
</body>
</html>
- social3.html
<html>
<body align="center">
<h2> Social Media </h2>
<b> YouTube </b><br><br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/LTMurltLEQc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe><br><br>
<b><p> Importance of Ecommerce </p></b><br><br><br><br>
<b> Facebook </b><br><br>
<a href="https://www.facebook.com" target="_blank"><img src="fb_logo.png"></a><br><br><br><br><br><br>
<b> Linkedin </b><br>
<a href="https://in.linkedin.com" target="_blank"><img src="linkedin_logo.png"></a>
</body>
</html>
- iframe3.html
<html>
<body>
<a href="aboutus3.html" target="f3" > About Us </a>
<a href="product3.html" target="f3" > Product </a>
<a href="social3.html" target="f3" > Social </a><br><br>
<iframe src="" height="500" width="800" name="f3">
</body>
</html>
13/5
## Website General Restructure
- frame set is used under <head>
## Cell creation
Division is called cell.
<div> </div>
Division is part of CSS.
In CSS attributes we use colon ( ':' )
ex. color : red ;
example:-
- div1.html
<html>
<body>
<div id="box1" style="background-color:yellow; height:100px; width:100px;
position:absolute;">
Welcome
</div>
<div id="box2" style="background-color:pink; height:100px; width:100px;
position:absolute; top:110px; left:110px;">
Welcome
</div>
</body>
</html>
example:-
- heading.html
<html>
<body>
<font color="" size="">
<h1> TCS </h1>
</font>
</body>
</html>
- menu.html
<html>
<body>
<a href="aboutus3.html" target="f3"> About Us</a><br>
<a href="social3.html" target="f3"> Social </a><br>
<a href="contact.html" target="f3"> Contact </a>
</body>
</html>
explanation:- here target is used bcoz we've to show/display the content on the right side of the page(larger side below heading)
- logo.html
<html>
<body>
<img src="coffee.jpg">
</body>
</html>
- mainpage.html
<html>
<head>
<frameset rows="10%,*">
<frame src="heading.html" name="f1">
<frameset cols="20%,*">
<frame src="menu.html" name="f2">
<frame src="logo.html" name="f3">
</frameset>
</frameset>
</head>
</html>
expalnation:- this is always and always written under <head> frameset is used to divide the screen and frame is used to display the content within that allotted space
## TASK:-
Using frameset Nagpur Smart City Page
Menu page
- about ngp
- fav place/tourist place
- about metro
- best clgs(clg name, image)
- contact us
to create :-
- heading4.html
- menu4.html
- about4.html
- tourist4.html
- metro4.html
- clgs4.html
- logo4.html
- main4.html
14/5
## CSS Cascading Style Sheet
- CSS is a collection of attributes like color, height, width, etc.
- There is no tag <> symbol in CSS
- There are 2 types of CSS
1) Internal CSS
2) External CSS
1) Internal CSS
- The extension for page is '.html'
- Using style tag <style> only for internal CSS
- <style> is used inside the head section
## How to create internal CSS
<html>
<head>
<style type="text/css">
Create the CSS
</style>
</head>
</html>
## How to create CSS
There are 2 methods for creating CSS
1) Using tag name
2) Using class method
1) Using tag method
Syntax:-
tag name
{
attribute name:value;
}
2) Using class method
syntax:-
.classname
{
attribute name:value;
}
example:-
<html>
<head>
<style type="text/css">
font
{
color:red;
}
.my1
{
color:blue;
}
.my2
{
color:yellow;
}
.box1{
background-color:red;
height:100px;
width:100px;
top:20px;
color:blue;
position:absolute;
}
</style>
</head>
<body>
<font>Welcome</font><br>
<font class="my1">MY PROGRAM</font><br>
<font class="my2"> Hello World</font>
<div class="box1">
WELCOME
</div>
</body>
</html>
##TASK:-
- Using div create a page
and using css using class
- Covid-info page
- Icon, Info, Sanitizer etc.
<html>
<head>
<style type="text/css">
.info
{
color:red;
font-size:50;
}
.virus{
position:absolute;
left:20%;
top:50%;
}
.para{
position:absolute;
width:800px;
}
</style>
</head>
<body>
<div class="info" align="center">
<b>Covid-19 Information</b>
</div><br><br>
<hr><br>
<b><h1> What is Corona Virus? </h1></b>
<p>
Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus.
Most people who fall sick with COVID-19 will experience mild to moderate symptoms and recover without special treatment.
Coronaviruses are a group of related RNA viruses that cause diseases in mammals and birds. In humans and birds, they cause respiratory tract infections that can range from mild to lethal. Mild illnesses in humans include some cases of the common cold (which is also caused by other viruses, predominantly rhinoviruses), while more lethal varieties can cause SARS, MERS, and COVID-19. In cows and pigs they cause diarrhea, while in mice they cause hepatitis and encephalomyelitis.
</p><br>
<div class="virus">
<img src="virus.jpg" height="300" width="700">
</div><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>
Coronaviruses constitute the subfamily Orthocoronavirinae, in the family Coronaviridae, order Nidovirales, and realm Riboviria.[4][5] They are enveloped viruses with a positive-sense single-stranded RNA genome and a nucleocapsid of helical symmetry.[6] The genome size of coronaviruses ranges from approximately 26 to 32 kilobases, one of the largest among RNA viruses.[7] They have characteristic club-shaped spikes that project from their surface, which in electron micrographs create an image reminiscent of the solar corona, from which their name derives.[8]
</p><br>
<p><b><h2>Symptoms of Corona Virus</h2></b>
COVID-19 affects different people in different ways. Most infected people will develop mild to moderate illness and recover without hospitalization.<br>
<b>Most common symptoms:</b>
<ul>
<li>Fever</li>
<li>Dry cough</li>
<li>Tiredness</li>
</ul><br>
<b>Less common symptoms:</b>
<ul>
<li>Aches and Pains</li>
<li>Sore throat</li>
<li>Diarrhoea</li>
<li>Conjunctivitis</li>
<li>Headache</li>
<li>Loss of taste or smell</li>
<li>A rash on skin, or discolouration of fingers or toes</li>
</ul>
</p><br>
<b><h2> Prevention </h2></b>
<div style="float:right;">
<img src="sanitizer1.jpg" height="400" width="500">
</div>
<div class="para">
<p>Protect yourself and others around you by knowing the facts and taking appropriate precautions. Follow advice provided by your local health authority.<br><br>
<b>To prevent the spread of COVID-19:</b><br><br>
<ul>
<li>Clean your hands often. Use soap and water, or an alcohol-based hand rub.</li>
<li>Maintain a safe distance from anyone who is coughing or sneezing.</li>
<li>Wear a mask when physical distancing is not possible.</li>
<li>Don’t touch your eyes, nose or mouth.</li>
<li>Cover your nose and mouth with your bent elbow or a tissue when you cough or sneeze.</li>
<li>Stay home if you feel unwell.</li>
<li>If you have a fever, cough and difficulty breathing, seek medical attention.</li><br>
</ul>
Calling in advance allows your healthcare provider to quickly direct you to the right health facility. This protects you, and prevents the spread of viruses and other infections.<br><br>
<b>Masks</b><br><br>
Masks can help prevent the spread of the virus from the person wearing the mask to others. Masks alone do not protect against COVID-19, and should be combined with physical distancing and hand hygiene. Follow the advice provided by your local health authority.
</p>
<div>
</body>
</html>
15/5
## External CSS
1) Extension is '.css'
2) No <> symbol required
3) Access inside the html
example:-
- file name external.css
.my1{
color:red;
}
.t1{
color:blue;
}
.h1{
color:yellow;
}
- file name extern.html
<html>
<head>
<link href="external.css" rel="stylesheet" type="text/css">
</head>
<body>
<font class="my1">
Hello World!
</font><br><br>
<font class="t1">
Hello World!
</font><br><br>
<font class="h1">
Hello World!
</font><br><br>
<p> CSS has two types 1) <font class="t1">internal</font> 2) external </p>
</body>
</html>
## Font awesome in website
Used in professional texting
https://fontawesome.com/v4.7.0/icon/mobile
From here I can use any icon
example:-
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-inr" aria-hidden="true"></i>2000<br><br>
<i class="fa fa-mobile" aria-hidden="true"></i>9876543210
</body>
</html>
TASK:-
- Implement extenal css attributes
- Professional biodata using font awesome
- biodata.html
<html>
<head>
<link rel="stylesheet" href="bio.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<b><h1> Biodata </h1></b>
<hr><br>
<ul>
<b><li>Introduction</li></b><br>
Name: Amit Kelkar <br>
Address: Flatno. 203, Benegiri Niwas, Beside Shivaji Park, Shanti Nagar, Chandrapur-440032<br>
Email: amit.kelkar@gmail.com<br><br>
<b><li>Qualification</li></b><br>
Course: B.E.(Information Technology)<br>
Institute: KITS<br>
Year of passing: 2020<br>
CGPA/Percentage: 65% <br><br>
<b><li>Experience</li></b><br>
Company Name: Axiom Techguru Pvt. Ltd.<br>
Years of Experience:- 2<br><br>
<b><li>Contact</li></b><br>
<i class="fa fa-phone" aria-hidden="true"></i> 9876543210<br><br>
<a href="https://www.whatsapp.com" target="_blank"><i class="fa fa-whatsapp" aria-hidden="true"> WhatsApp </i></a><br><br>
<a href="https://in.linkedin.com" target="_blank"><i class="fa fa-linkedin-square" aria-hidden="true"> Linkedin </i><br><br>
</a><br>
<b><li>Social Media</li></b><br><br>
<div class="row">
<div class="video">
<b>Facebook<br><br></b>
<iframe src="https://www.facebook.com/plugins/video.php?height=314&href=https%3A%2F%2Fwww.facebook.com%2FManpowerserconsulting%2Fvideos%2F255544782562455%2F&show_text=false&width=560" width="560" height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe>
</div>
<div class="video">
<b>Youtube<br><br></b>
<iframe width="560" height="315" src="https://www.youtube.com/embed/w1V3gZv0ebY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</ul>
</body>
</html>
- bio.css
h1{
text-align:center;
font-size:50px;
}
body{
background-color:powderblue;
}
li{
font-size:20px;
}
.video {
float: left;
width: 45%;
padding: 30px;
}
Explanation:- here .video class attributes is for displaying the video side by side
Comments
Post a Comment