質問編集履歴

2

html、修正いたしました。ご指摘ありがとうございました!これで、大丈夫でしょうか…

2021/12/01 13:44

投稿

naotokame
naotokame

スコア1

test CHANGED
File without changes
test CHANGED
@@ -86,6 +86,12 @@
86
86
 
87
87
  </div>
88
88
 
89
+ </header>
90
+
91
+ </body>
92
+
93
+ </html>
94
+
89
95
  ```
90
96
 
91
97
  ### 該当のソースコード

1

reset.css追記いたしました(ご指摘ありがとうございました)!

2021/12/01 13:44

投稿

naotokame
naotokame

スコア1

test CHANGED
File without changes
test CHANGED
@@ -540,7 +540,119 @@
540
540
 
541
541
  ```
542
542
 
543
-
543
+ ### reset.css追記です(早々にご指摘ありがとうございました)。
544
+
545
+
546
+
547
+ ```reset.css
548
+
549
+ @charset "utf-8";
550
+
551
+
552
+
553
+ /*
554
+
555
+ *** リセットスタイル ***
556
+
557
+ Originally crafted by Eric Meyer
558
+
559
+ Source: http://meyerweb.com/eric/tools/css/reset/
560
+
561
+ Purpose:
562
+
563
+ The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on
564
+
565
+ */
566
+
567
+
568
+
569
+ html, body, div, span, applet, object, iframe,
570
+
571
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
572
+
573
+ a, abbr, acronym, address, big, cite, code,
574
+
575
+ del, dfn, em, img, ins, kbd, q, s, samp,
576
+
577
+ small, strike, strong, sub, sup, tt, var,
578
+
579
+ b, u, i, center,
580
+
581
+ dl, dt, dd, ol, ul, li,
582
+
583
+ fieldset, form, label, legend,
584
+
585
+ table, caption, tbody, tfoot, thead, tr, th, td,
586
+
587
+ article, aside, canvas, details, embed,
588
+
589
+ figure, figcaption, footer, header, hgroup,
590
+
591
+ menu, nav, output, ruby, section, summary,
592
+
593
+ time, mark, audio, video {
594
+
595
+ margin: 0;
596
+
597
+ padding: 0;
598
+
599
+ border: 0;
600
+
601
+ font-size: 100%;
602
+
603
+ font: inherit;
604
+
605
+ vertical-align: baseline;
606
+
607
+ }
608
+
609
+ /* HTML5 display-role reset for older browsers */
610
+
611
+ article, aside, details, figcaption, figure,
612
+
613
+ footer, header, hgroup, menu, nav, section {
614
+
615
+ display: block;
616
+
617
+ }
618
+
619
+ body {
620
+
621
+ line-height: 1;
622
+
623
+ }
624
+
625
+ ol, ul {
626
+
627
+ list-style: none;
628
+
629
+ }
630
+
631
+ blockquote, q {
632
+
633
+ quotes: none;
634
+
635
+ }
636
+
637
+ blockquote:before, blockquote:after,
638
+
639
+ q:before, q:after {
640
+
641
+ content: '';
642
+
643
+ content: none;
644
+
645
+ }
646
+
647
+ table {
648
+
649
+ border-collapse: collapse;
650
+
651
+ border-spacing: 0;
652
+
653
+ }
654
+
655
+ ```
544
656
 
545
657
  ### 試したこと
546
658