[Locked] Why does my html code not display in browser as expected?
Dreamweaver Support
I am using Adobe Dreamweaver CS5 Classroom in a Book.
In chapter 2, pp 23-24, I typed in the brief html code in the TextEdit application on my iMac - saved as firstpage.html:
<html>
<body>
Welcome to my first web page
</body>
</html>
Then I launched my Firefox browser and opened that firstpage html file there. The browser displayed my entire html code – not just the expected text: “Welcome to my first web page.”
When I went to VIEW and clicked on Page Source, I got the browser page code with my code (above) included, but there was strange code in front of each of my lines:
<body>
<p class="p1"><html></p>
<p class="p1"><body></p>
<p class="p2">Welcome to my first web page</p>
<p class="p2"></body></p>
<p class="p2"></html></p>
</body>
</html>
On each line, the initial p and terminal p are purple; the “pl” is blue, and the lt; and gt; are red.
What happened here? Since the lesson continues to use the original code (adds to it, etc.) I need to know how to do this right.
Thank you,
Larry Flammer
