質問編集履歴

1

リンク修正

2021/07/09 10:16

投稿

kaoru_tujimiya
kaoru_tujimiya

スコア36

test CHANGED
File without changes
test CHANGED
@@ -22,6 +22,60 @@
22
22
 
23
23
  <a target="_blank" href="aaa">
24
24
 
25
+ <img class="news_contents_img" src="https://aaa.com/desc_dgr8337/?utm_campaign=google_jobs_apply&amp;utm_source=google_jobs_apply&amp;utm_medium=organic">
26
+
27
+ </a>
28
+
29
+ </div>
30
+
31
+ <div class="news_contents_info_wrap">
32
+
33
+ <a class="news_contents_info_title" target="_blank" href="aaa">
34
+
35
+ test
36
+
37
+ </a>
38
+
39
+ <p class="news_contents_info_date">2021-07-09</p>
40
+
41
+ </div>
42
+
43
+ </li>
44
+
45
+ //2つ目のliからaタグで画像や文字列を囲ってくれない
46
+
47
+ <li>
48
+
49
+ <div class="news_contents_img_wrap">
50
+
51
+ <a target="_blank" href="https://aaa.jp/DodaFront/View/JobSearchDetail/j_jid__3000512/-tab__jd/-fm__jobdetail"></a>
52
+
53
+ <img class="news_contents_img" src="aaa">
54
+
55
+ </div>
56
+
57
+ <div class="news_contents_info_wrap">
58
+
59
+ <a class="news_contents_info_title" target="_blank" href="aaa"></a>test2
60
+
61
+ <p class="news_contents_info_date">2021-06-17</p>
62
+
63
+ </div>
64
+
65
+ </li>
66
+
67
+ ```
68
+
69
+ 理想
70
+
71
+ ```HTML
72
+
73
+ <li>
74
+
75
+ <div class="news_contents_img_wrap">
76
+
77
+ <a target="_blank" href="aaa">
78
+
25
79
  <img class="news_contents_img" src="bbbb">
26
80
 
27
81
  </a>
@@ -42,21 +96,25 @@
42
96
 
43
97
  </li>
44
98
 
45
- //2つ目のliからaタグで画像や文字列を囲ってくれない
46
-
47
- <li>
99
+ <li>
48
-
100
+
49
- <div class="news_contents_img_wrap">
101
+ <div class="news_contents_img_wrap">
50
-
102
+
51
- <a target="_blank" href="aaa"></a>
103
+ <a target="_blank" href="aaa">
52
-
104
+
53
- <img class="news_contents_img" src="aaa">
105
+ <img class="news_contents_img" src="bbbb">
106
+
54
-
107
+ </a>
108
+
55
- </div>
109
+ </div>
56
-
110
+
57
- <div class="news_contents_info_wrap">
111
+ <div class="news_contents_info_wrap">
58
-
112
+
59
- <a class="news_contents_info_title" target="_blank" href="aaa"></a>test2
113
+ <a class="news_contents_info_title" target="_blank" href="aaa">
114
+
115
+ test2
116
+
117
+ </a>
60
118
 
61
119
  <p class="news_contents_info_date">2021-06-17</p>
62
120
 
@@ -66,72 +124,14 @@
66
124
 
67
125
  ```
68
126
 
127
+
128
+
69
- 理想
129
+ ### 該当のソースコード
130
+
131
+
70
132
 
71
133
  ```HTML
72
134
 
73
- <li>
74
-
75
- <div class="news_contents_img_wrap">
76
-
77
- <a target="_blank" href="aaa">
78
-
79
- <img class="news_contents_img" src="bbbb">
80
-
81
- </a>
82
-
83
- </div>
84
-
85
- <div class="news_contents_info_wrap">
86
-
87
- <a class="news_contents_info_title" target="_blank" href="aaa">
88
-
89
- test
90
-
91
- </a>
92
-
93
- <p class="news_contents_info_date">2021-07-09</p>
94
-
95
- </div>
96
-
97
- </li>
98
-
99
- <li>
100
-
101
- <div class="news_contents_img_wrap">
102
-
103
- <a target="_blank" href="aaa">
104
-
105
- <img class="news_contents_img" src="bbbb">
106
-
107
- </a>
108
-
109
- </div>
110
-
111
- <div class="news_contents_info_wrap">
112
-
113
- <a class="news_contents_info_title" target="_blank" href="aaa">
114
-
115
- test2
116
-
117
- </a>
118
-
119
- <p class="news_contents_info_date">2021-06-17</p>
120
-
121
- </div>
122
-
123
- </li>
124
-
125
- ```
126
-
127
-
128
-
129
- ### 該当のソースコード
130
-
131
-
132
-
133
- ```HTML
134
-
135
135
  <div class="news_contents">
136
136
 
137
137
  <ul>