2017-11-02 11 views
-2

私は文字通り、HTMLを使って9-5の仕事の仕組みをより良く理解するためのGoogleアナリティクスタグの実装方法を最終目標としてウェブサイトを構築する方法を学び始めました。なぜhrefと<a>タグは昇華3を使用していませんか?

これまでのところ、「< a>」またはhrefタグを使用していると、HTMLでファイルを開くときに何も表示されないようです。

私はテキストエディタとして3を使用していました。私はいくつかの行のhtmlを書いて、それを保存しようとした後、ソフトウェアの購入などについてポップアップしました。メッセージを閉じる前に)。だから私はそれが崇高な3または私のコーディングと関係があるかどうか分からない。それはおそらく何か非常に単純で愚かな私は何かが助けていただければ幸いです。

下記のHTMLコード:

<html> 

<head> 
    <title>MY WEBPAGE!</title> 
</head> 

<body> 

    <h1>Yo! Sup!</h1> 

    <h2>you can use header tags to create big heads in size 1-6</h2> 

     <br> <img src="https://i.ytimg.com/vi/dGpZEuXoFWw/hqdefault.jpg"> 

    <br> <br> You need to use br tag to create a new line 

     <p>You can write in <strong>bold</strong> 
      <br> You can also write in <em>italics</em> 
      <br> Can you do <em><strong>both?</strong></em> 
     </p> 

    <p>You don't always have to use double br tags to start a new paragraph you can use the p tag, the good thing about p tag is it creates a space either side of the paragraph 
    </p> 

    What about underline? 

    <br> <br> You can use the a tag to link to another site <a google.com></a> 

    <br> <br> but you need to add a href in <a href="www.google.co.uk"></a> 

    <br> <br> You can also you the img tag to identify an image source 

    <br> <br> you can create an unordered list using the ul and li tags which are used to create lists for drop downs and navigations 

    <br> <br> 

    <ul> 

     <li> first list item </li> 

     <li> second list item </li> 

     <li> third list item </li> 

    </ul> 

    <br> you can create an ordered list (which basically just gives the list numbers) by using the ol tag 

    <ol> 

     <li> first list item </li> 

     <li> second list item </li> 

     <li> third list item </li> 

    </ol> 

</body> 

</html> 

ありがとう!

+0

のためには、タグgoogle

+0

'' google.com、ない '' 間のテキストを配置する必要があります。タグにはリンク先とページに表示するテキストを指定する必要があります。これはまた、テキストの編集に使用したソフトウェアとは関係がありません。あなたが見たメッセージは何かでした。Sublimeはいくつかの保存ごとにポップアップします。迷惑なことを除いて、これは何にも影響しません。 – OdatNurd

+0

完璧!ありがとうございました! –

答えて

2

あなたはタグの中にいくつかのテキストを入れる必要があります!インスタンス

<a href="http://google.com">Google</a>

+0

ああ!優れた!美嘉、ありがとう、私はそれが何かばかげたことを知っていた。 –

関連する問題