I dont write on other page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I dont write on other page

I dont write my Page. And dont add a New Page How can i add ? https://code.sololearn.com/W6uA6DrqyZ13/?ref=app

30th Aug 2022, 2:15 PM
Akın Ustabaş
Akın Ustabaş - avatar
4 Answers
+ 2
Sololearn playground only supports single webpages. If you want to make multiple webpages for your website. You will need to create separate HTML documents and use the <nav> element and <a> tag to navigate between pages. Example: https://www.w3schools.com/tags/tag_nav.asp As an alternative You can make a single page web application that supports multiple tabs. That looks like multiple webpages. But it requires JavaScript. Example: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_tabs
30th Aug 2022, 8:31 PM
Chris Coder
Chris Coder - avatar
31st Aug 2022, 7:22 AM
Akın Ustabaş
Akın Ustabaş - avatar
0
Your blog is just single page. The document name looks like this. index.html So you need another separate document. To make 2 pages. The next document would look like this. about.html Documents - http://mrcruwys.com/media/images/making_a_website/folder_hierarchy.png You attempted to put two html elements into the same document. So It is still only one page and It has fatal validation errors. Pay attention to the document structure. There should only be one <html> element. The <html> tag is the container for all other HTML elements. There should be only one <head > element The <head> element is a container for document title, character set, styles, scripts, and other meta information. The <head> element must be placed between <html> tag and the <body> tag. <!DOCTYPE html> <html> <head> <title>A Meaningful Page Title</title> <style> CSS can go here </style> </head> <body> The content of the document...... </body> </html>
1st Sep 2022, 7:08 PM
Chris Coder
Chris Coder - avatar
1st Sep 2022, 7:37 PM
Chris Coder
Chris Coder - avatar