Z
Z
zvarich19862018-02-26 20:50:26
HTML
zvarich1986, 2018-02-26 20:50:26

How to deal with HTML code?

There is a code :
Page code (index.html)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <a href="more.html">Ссылка на пост</a> 
</body>
</html>

Page code (more.html)
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nemo, quo, impedit. Magnam vitae, laudantium officiis molestiae ipsam omnis id maiores pariatur impedit sit, doloribus provident nisi animi quia possimus distinctio!</p>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam sequi quam beatae, obcaecati blanditiis, mollitia a velit odio, maxime incidunt quia tenetur facere alias inventore architecto aspernatur officiis, nemo quis.</p>

    <a href="index.html">Вернуться</a>

</body>
</html>

Everything works correctly, but when I click on the link in the browser, I am redirected to another page without text
. What should I do?
I work in Brackets editor.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shad30, 2018-02-26
@Shad30

Do you have both files in the same folder?

D
Daniil Sukhikh, 2018-02-26
@danchiksux

Either the files are in different folders or the filename is not correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question