Computer Science, asked by jaganrao6567, 3 months ago

write an html code to display the working of external linking​

Answers

Answered by Anonymous
2

Answer:

Explanation:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Links</title>

</head>

<body>

<header>

Lorem ipsum ...

</header>

<h1 id="top">Links to Sections of The Same Page</h1>

<section>

<ul>

<!-- Link to every section in the page -->

<li><a href="#section1">#section1</a></li>

<li><a href="#section2">#section2</a></li>

<li><a href="#section3">#section3</a></li>

<li><a href="#section4">#section4</a></li>

<li><a href="#section5">#section5</a></li>

</ul>

</section>

<section id="section1">

<h3>(#section1) Section 1</h3>

<p>Lorem ipsum ...</p>

</section>

<section id="section2">

<h3>(#section2) Section 2</h3>

<p>Lorem ipsum ...</p>

</section>

<section id="section3">

<h3>(#section3) Section 3</h3>

<p>Lorem ipsum ...</p>

</section>

<section id="section4">

<h2>(#section4) Section 4</h2>

<p>Lorem ipsum ...</p>

</section>

<section id="section5">

<h2>(#section5) Section 5</h2>

<p>Lorem ipsum ...</p>

<p>

<a href="#top">Back to Page Heading</a> or

<a href="#">Back to Top of Page</a>

</p>

</section>

</body>

</html>

Similar questions