2016-04-06 5 views
0

私は幅と高さの両方を増やそうとしていますが、高さは増えますが幅は増えません。幅の値は変わりますが、ページの幅の半分に広げたいという変更はありません。HTMLページの画像の幅を広げるにはどうすればよいですか?

<!DOCTYPE html> 

<head> 
    <meta charset="utf-8"> 
    <title>1st Exercise</title> 
</head> 



<body> 

    <img src="http://salihkalkan.com/wp-content/uploads/demo-image-green-480x318.jpg" alt = "sorry the image cannot load" height="200" width-"2000"> 
    <h2>FIFA World Cup 2014 News</h2> 
    <p> 
      The biggest scoreline in the history of the <strong>FIFA World Cup</strong> qualifiers - and indeed in the history of international football - was recorded on 11 April 2001, when Australia beat American Samoa 31-0. 
      <br> 
      This legendary match also brought global renown for <em>Archie Thompson</em>, whose 13-goal haul set a new world record, which stands to this day, for an individual player in a single international match. 
      <br> 
      And though the defeat earned American Samoa ignominy, so inspiring has their subsequent recovery been that it is now the subject of an acclaimed documentary, <em>‘Next Goal Wins'</em>, showing across the world. 
    </p> 


    <h3>Destinations</h3> 

</body> 
+4

あなたは 'width-" 2000 "'に入力ミスを書くことができましたか? – usr2564301

+0

ああ何のばかげた間違い、私はまだ初心者です、指摘ありがとう –

+0

高さと幅の代わりにHTMLタグを使用しないでください**そのための** CSSを使用してください – dippas

答えて

2

width-"2000"おそらくwidth="2000"すべきですか?

+2

それから農家の担当者ではなく、タイプミスのためにトピックをオフトピックとして閉じるよう投票してください。この質問は将来のユーザーにとって価値がありません。 – j08691

+0

それは、オシロスコープが見たときに答えていた – dippas

+0

ありがとう、私はそれを削除するためにトライを持っていますが、それ以来、それはなかったでしょう –

関連する問題