<!DOCTYPE html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
<
link
rel
=
"stylesheet"
href
=
<
script
src
=
</
script
>
<
script
src
=
</
script
>
<
style
>
body {
position: relative;
}
p {
font-size: 18px;
}
#section1 {
padding-top: 50px;
height: 500px;
color: white;
background-color: green;
}
#section2 {
padding-top: 50px;
height: 500px;
color: green;
background-color: white;
}
#section3 {
padding-top: 50px;
height: 500px;
color: white;
background-color: green;
}
#section4 {
padding-top: 50px;
height: 500px;
color: green;
background-color: white;
}
</
style
>
</
head
>
<
body
data-spy
=
"scroll"
data-target
=
".navbar"
data-offset
=
"50"
>
<
nav
class
=
"navbar navbar-inverse navbar-fixed-top"
>
<
div
class
=
"container-fluid"
>
<
div
class
=
"navbar-header"
>
<
button
type
=
"button"
class
=
"navbar-toggle"
data-toggle
=
"collapse"
data-target
=
"#myNavbar"
>
<
span
class
=
"icon-bar"
></
span
>
<
span
class
=
"icon-bar"
></
span
>
<
span
class
=
"icon-bar"
></
span
>
</
button
>
<
a
class
=
"navbar-brand"
href
=
"#"
>GeeksforGeeks</
a
>
</
div
>
<
div
>
<
div
class
=
"collapse navbar-collapse"
id
=
"myNavbar"
>
<
ul
class
=
"nav navbar-nav"
>
<
li
><
a
href
=
"#section1"
>Section 1</
a
></
li
>
<
li
><
a
href
=
"#section2"
>Section 2</
a
></
li
>
<
li
><
a
href
=
"#section3"
>Section 3</
a
></
li
>
<
li
><
a
href
=
"#section4"
>Section 4</
a
></
li
>
</
ul
>
</
div
>
</
div
>
</
div
>
</
nav
>
<
div
id
=
"section1"
class
=
"container-fluid"
>
<
h1
>Section 1</
h1
>
<
h3
>GeeksforGeeks</
h3
>
<
h5
>A computer science portal for geeks.</
h5
>
<
h6
> This portal has been created to provide
well written, well thought and well
explained solutions for selected questions
related to programming, algorithms,
other computer science subjects.</
h6
>
<
p
>Scroll this section.</
p
>
</
div
>
<
div
id
=
"section2"
class
=
"container-fluid"
>
<
h1
>Section 2</
h1
>
<
h3
>GeeksforGeeks</
h3
>
<
h5
>A computer science portal for geeks.</
h5
>
<
h6
> This portal also provide GATE
previous year papers,short notes
for the aspirants.</
h6
>
<
p
>Scroll this section.</
p
>
</
div
>
<
div
id
=
"section3"
class
=
"container-fluid"
>
<
h1
>Section 3</
h1
>
<
h3
>GeeksforGeeks</
h3
>
<
h5
>A computer science portal for geeks.</
h5
>
<
h6
>This portal also provide interview questions
asked by private and public sectors.</
h6
>
<
p
>Scroll this section.</
p
>
</
div
>
<
div
id
=
"section4"
class
=
"container-fluid"
>
<
h1
>Section 4</
h1
>
<
h3
>GeeksforGeeks</
h3
>
<
h5
>A computer science portal for geeks.</
h5
>
<
h6
>It also provide Internship or
contributor program for students.</
h6
>
<
p
>Scroll this section.</
p
>
</
div
>
</
body
>
</
html
>