Skip to main content
Participating Frequently
July 30, 2018
Answered

titles in html file change automatically to the first sites title name

  • July 30, 2018
  • 1 reply
  • 1196 views

Im new to DW 2018. Im playin around building some practice sites. Ive studied a lot of videos and searched the web up and down. I built a few website with a title name of

. I built another one called

. And another one called

. At this point all the titles in ,html file  are as I named them. When I click the drop down to select one of the other two site to view the html file all my titles change to the first websites html file name "

". When I view the sites in goggle chrome all the titles are are as I named them originally. Sum it up the titles on all sites change only in the .html files to the first site title name. Thanks in advance.

This topic has been closed for replies.
Correct answer Jon Fritz

three new websites made  love peace and joy

website 1 "love"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>love</title>  <!-- browser tab= love-->

</head>

<body>

</body>

</html>

website 2 "peace"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>peace</title>   <!-- browser tab= peace-->

</head>

<body>

</body>

</html>

website 3 "joy"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>joy</title>   <!-- browser tab= joy-->

</head>

<body>

</body>

</html>

<!-- NOW I WANT TO VIEW MY OTHER TWO SITES I JUST MADE-->

select dropdown

choose site 1

website 1 "love"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>joy</title>  <!-- browser tab= love. This title changed to joy  because it was the last site i viewed-->

</head>

<body>

</body>

</html>

select dropdown

choose a site 2

website 2 "peace"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>joy</title>  <!-- browser tab= peace. this title changed to joy -->

</head>

<body>

</body>

</html>

select dropdown

choose a site 3

website 3 "joy"

file = index.html

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>joy</title>  <!-- browser tab= joy. this title stayed the same  it was the last site/title i made-->

</head>

<body>

</body>

</html>

THIS IS A REVOLVING CIRCLE WITH ANY ELEMENT I TYPE INTO OR CHANGE ANY OF THE THREE SITES


If all three sites take on the appearance of the last one you made edits to, it sounds to me like you are referencing a single root folder in each and essentially changing the same index.html file each time you open one of them.

site_folder
     index.html

Each of the three sites needs to be stored in separate root folder on your hard drive...

love_site_folder
     index.html

     images

          image1.jpg
peace_site_folder
     index.html

     images

          image1.jpg
joy_site_folder
     index.html
     images

          image1.jpg

    

...and each root folder will have its own copy of index.html and any other files/folders you may need.

1 reply

Participating Frequently
July 30, 2018

sorry folks my sites were name helloSiteOne, helloSiteTwo, and helloSiteThree. it took the names off my sentence because I put them in title tags.

Participating Frequently
July 30, 2018

I can change the title manually in the html file. Soon as I select another site to view the html file it changes all sites title to the first sites html title name.  at first I thought the problem was because I created a new site and noticed I left the other sites html file open on the screen while building a new site. I deleted each site and built some new ones with different (not so close to the same title name) names. Ive tried everything I can to fix this to no avail. Thanks in advance.

Participating Frequently
July 30, 2018

also forgot to mention any code I type in one site automatically goes to the other sites.