私はウェブサイトを作成しています。ウェブサイトを実行すると、穴のスクリプトが表示されます。これは私のスクリプトです:このHTMLスクリプトで何が問題になっていますか?
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>default</title>
</head>
<body>
<p><!DOCTYPE html><br>
<html lang="en-us"><br>
<head><br>
<style><br>
.city {<br>
float: left;<br>
margin: 5px;<br>
padding: 15px;<br>
width: 300px;<br>
height: 300px;<br>
border: 1px solid black;<br>
} <br>
</style><br>
</head><br>
<body></p
<p><h1>Standen voetbalcompetities :</h1></p>
<p><div class="country"><br>
<h2>Eredivisie</h2><br>
<p>London is the capital city of England.</p><br>
<p>It is the most populous city in the United Kingdom,<br>
with a metropolitan area of over 13 million inhabitants.</p><br>
</div></p>
<p><div class="city"><br>
<h2>Premier League (Engeland)</h2><br>
<p>Paris is the capital of France.</p> <br>
<p>The Paris area is one of the largest population centers in Europe, <br>
with more than 12 million inhabitants.</p><br>
</div></p>
<p><div class="city"><br>
<h2>Tokyo</h2><br>
<p>Tokyo is the capital of Japan.</p><br>
<p>It is the center of the Greater Tokyo Area,<br>
and the most populous metropolitan area in the world.</p><br>
</div></p>
<p></body><br>
</html></p>
注:私は自分自身にスクリプトを郵送し、Dreamweaverでそれを貼り付け、多分それが理由ですが、私は知りません。何が起こったか
多くのことが間違っています。初心者のために、何か(Dreamweaver?)がすべての角括弧を置き換えました。あなたは何を理解しようとしていますか?あなたの質問は何ですか? – Teepeemm
それは問題です。すべてのHTMLタグがエンティティに変換されました。自分でスクリプトをメールする場合は、ファイルを添付するか、添付できるテキストファイルに貼り付ける方がよいでしょう。 – Jrod
これは、HTMLのように見えるものを表示するためのHTMLのように見えます。これがあなたが書いた元のコードでない場合は、明らかにそのコードに戻すべきです。 – David