質問編集履歴

2

スペルミスの修正

2022/03/21 07:00

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -23,7 +23,7 @@
23
23
  <h1 class="intro__heading">テキストテキストテキストテキスト</h1>
24
24
  <p class="intro__text">テキストテキストテキストテキスト<br>テキストテキストテキストテキスト<br>テキストテキストテキストテキスト</p>
25
25
  <!--aタグをブロックレベルで囲む インライン要素はブロックレベルの中にあるべきという考え方でcssを組む -->
26
- <p class="contact.html"><a href="">Contact</a></p>
26
+ <p class="intro__link"><a href="contact.html">Contact</a></p>
27
27
  </div>
28
28
  </div>
29
29
  ```

1

buttonタグではなくaタグを使う場合という体で質問いたします。※仮想のパスを入力しました。

2022/03/21 06:59

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -13,7 +13,7 @@
13
13
  <h1 class="intro__heading">テキストテキストテキストテキスト</h1>
14
14
  <p class="intro__text">テキストテキストテキストテキスト<br>テキストテキストテキストテキスト<br>テキストテキストテキストテキスト</p>
15
15
  <!--aタグをブロックレベルで囲まず単体で使用する、display:block等でブロック要素化する -->
16
- <a href="" class="intro__link">Contact</a>
16
+ <a href="contact.html" class="intro__link">Contact</a>
17
17
  </div>
18
18
  </div>
19
19
 
@@ -23,7 +23,7 @@
23
23
  <h1 class="intro__heading">テキストテキストテキストテキスト</h1>
24
24
  <p class="intro__text">テキストテキストテキストテキスト<br>テキストテキストテキストテキスト<br>テキストテキストテキストテキスト</p>
25
25
  <!--aタグをブロックレベルで囲む インライン要素はブロックレベルの中にあるべきという考え方でcssを組む -->
26
- <p class="intro__link"><a href="">Contact</a></p>
26
+ <p class="contact.html"><a href="">Contact</a></p>
27
27
  </div>
28
28
  </div>
29
29
  ```
@@ -43,3 +43,5 @@
43
43
  position: relative;
44
44
  }
45
45
  ```
46
+ 追記
47
+ buttonタグではなくaタグを使う場合という体で質問いたします。※仮想のパスを入力しました。