TA的每日心情 | 开心 2018-8-8 03:13 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
发表于 2020-4-8 15:18:17
|
显示全部楼层
本帖最后由 喬治兄 于 2020-4-8 15:22 编辑 % t, e, p* ?5 f* j: d5 I- D5 ^% F$ k
VimVim 发表于 2020-4-8 15:08
* n$ }9 j& `% }name=这种属性兼容性有问题,建议使用标准的id=+ ~' f+ _. n$ K- [
The name attribute is not supported in HTML5. Use the ... / T# {& x7 h2 r% P d
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_a_name9 P& h! o/ a7 d; h" n' y
可行....但若距離不夠長則銀幕是不動的
0 m5 C- T) a* b( T2 Y5 j& [: E! V0 G8 P4 Y( r# M* E
<!DOCTYPE html>1 E* X! X7 z- ?1 f
<html>
2 c; \. H9 L7 p' @% t<body>: ?+ W' X- g; g5 q- ~$ E% R
7 R; ?& ?: R' u$ `$ q ~, D<h1>The a name attribute</h1>" p2 f- U7 E# D0 S. ~6 E
- n5 ?1 M) D& h# U<p>. a( Z# {6 Q0 S! e, ~" Z5 F
<a href="#C4">See also Chapter 4</a>/ S2 w- B) `. ~& p- s, W
</p>) L6 B- F# d! y1 {" t. j! B
# w; x9 v* {2 S
<p>7 b( e! }! f2 q5 Y! D; t# K
<h2>Chapter 1</h2>
* R0 t- d0 h, Q5 F9 N5 `* J<p>This chapter explains ba bla bla</p>8 V: c# r8 a+ c8 N7 r
5 i6 a5 I X9 `4 F( }2 F s. d
<h2>Chapter 2</h2>
u5 q* i8 w5 \- P<p>This chapter explains ba bla bla</p>1 H s0 W! u! r2 Y5 B! t
0 s+ Y% d# n: \- V/ w<h2>Chapter 3</h2>+ c8 D2 t: v3 P7 b( V: ?
<p>This chapter explains ba bla bla</p>- o1 z1 H9 R! v5 `( J+ j
/ L. Q4 [/ F1 u( W d1 R/ \5 P
<h2><a name="C4">Chapter 4</a></h2>% U0 ~) e5 X" t: a8 O
<p>This chapter explains ba bla bla</p>
! d7 p% \# k1 Y6 E: E | |( h- M! h! Z) N8 L; } F8 Z, \; B: e
<h2>Chapter 5</h2>6 t/ D. R6 d# a' Z( @4 w
<p>This chapter explains ba bla bla</p>
& W' t& r! F# K" a, \8 P& G& G/ V) L C( C$ S. q3 i- M
<h2>Chapter 6</h2>
6 e H( F( \) I6 ~9 c7 B<p>This chapter explains ba bla bla</p>
' Z6 l* P( Y; u. V5 o; s, s( Z2 O/ }' E
9 q7 b; r: a, o) i5 T4 N& j<h2>Chapter 7</h2>
1 S; {3 h+ z, s% \( O<p>This chapter explains ba bla bla</p>
& o9 L6 t; `+ e
6 i9 Z/ q2 `" R4 p; f9 p, S ^<h2>Chapter 8</h2>
& o* f; T- O9 R. ^7 j<p>This chapter explains ba bla bla</p>. k3 O( D/ z) O
+ }" m' q: D6 ^- H* b6 T& [<h2>Chapter 9</h2>
?; }& z5 u1 ^. n7 s2 c Y# N<p>This chapter explains ba bla bla</p>
7 A/ m( b' O1 S. o# V, x- q+ C! P: g
<h2>Chapter 10</h2>
, w e: r1 t9 q( z! u<p>This chapter explains ba bla bla</p>
' j. R' S- E: s+ a$ H Q( C! U; ?+ T$ V. l3 ]' n
<h2>Chapter 11</h2>
' T2 p4 R) v% k<p>This chapter explains ba bla bla</p>5 K6 D$ {" {7 M& R, ^, a
S) K0 n( ~. b4 |( ]<h2>Chapter 12</h2>
0 }+ U5 d) w) o; E! W<p>This chapter explains ba bla bla</p>
, V& Y x% y w4 ]6 J8 H5 @, i: z" q9 O. d: c0 S6 N5 b) q
<h2>Chapter 13</h2>3 |! I j/ L4 J9 k# c5 j& K
<p>This chapter explains ba bla bla</p>, B: q: H0 q8 R0 U% H
6 |5 K% t7 ~8 Q' x9 K6 Z
<h2>Chapter 14</h2>
5 h- I ^; Y) u, s4 u<p>This chapter explains ba bla bla</p>
: r; X/ [* e: C! K" Z; O; i! B1 c
<h2>Chapter 15</h2>$ ~, A" Z7 b! E0 P" b2 l
<p>This chapter explains ba bla bla</p>
" r- Z1 N- F2 z+ W1 x
7 B6 Y* o8 ?$ T( x<h2>Chapter 16</h2>
- M9 D" P# y8 O ^4 {; k N7 e, G<p>This chapter explains ba bla bla</p>( C- }: G% P9 n- B! D
3 V4 s7 p8 p) n7 }+ ^; ?
<h2>Chapter 17</h2>3 S: d U% |3 n5 }% ]
<p>This chapter explains ba bla bla</p>* B3 l: H! J5 T, t$ f" Q' ]
5 u8 F4 _+ k7 _, s* z& V</body>1 N$ x# ~4 q' j% }
</html>: f9 s; D5 o/ |
|
|