質問編集履歴

1

"index.php"のコードから出力されたhtmlのソースコードに差し替え

2021/09/09 00:01

投稿

youOvO
youOvO

スコア2

test CHANGED
File without changes
test CHANGED
@@ -30,21 +30,97 @@
30
30
 
31
31
 
32
32
 
33
- index.php
34
-
35
- ```
36
-
37
- <?php
38
-
39
- require("../app/functions.php");
40
-
41
-
42
-
43
- include("../app/_parts/_header.php");
44
-
45
- ?>
46
-
47
-
33
+ 出力されたhtmlのソースコード
34
+
35
+ ```
36
+
37
+
38
+
39
+ <!doctype html>
40
+
41
+ <html lang="ja">
42
+
43
+ <head>
44
+
45
+ <meta charset="utf-8">
46
+
47
+ <meta name="viewport" content="width=device-width, initial-scale=1">
48
+
49
+
50
+
51
+ <!-- bootstrap -->
52
+
53
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
54
+
55
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">
56
+
57
+
58
+
59
+ <!-- font -->
60
+
61
+ <link href="https://fonts.googleapis.com/css?family=Teko" rel="stylesheet">
62
+
63
+
64
+
65
+ <title>Portfolio Site</title>
66
+
67
+ <link rel="stylesheet" href="css/styles.css">
68
+
69
+ </head>
70
+
71
+ <body>
72
+
73
+ <header>
74
+
75
+ <nav class="navbar navbar-expand-lg navbar-light bg-secondary text-white-50 fw-bold">
76
+
77
+ <div class="container-fluid">
78
+
79
+ <a class="navbar-brand" href="#">Portfolio Site</a>
80
+
81
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
82
+
83
+ <span class="navbar-toggler-icon"></span>
84
+
85
+ </button>
86
+
87
+ <div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
88
+
89
+ <ul class="navbar-nav navbar-right">
90
+
91
+ <li class="nav-item">
92
+
93
+ <a class="nav-link" href="#">Home</a>
94
+
95
+ </li>
96
+
97
+ <li class="nav-item">
98
+
99
+ <a class="nav-link" href="#">Profile</a>
100
+
101
+ </li>
102
+
103
+ <li class="nav-item">
104
+
105
+ <a class="nav-link" href="#">Portfolio</a>
106
+
107
+ </li>
108
+
109
+ <li class="nav-item">
110
+
111
+ <a class="nav-link" href="#">Skill</a>
112
+
113
+ </li>
114
+
115
+ </ul>
116
+
117
+ </div>
118
+
119
+ </div>
120
+
121
+ </nav>
122
+
123
+ </header>
48
124
 
49
125
  <section class="toc">
50
126
 
@@ -68,15 +144,9 @@
68
144
 
69
145
 
70
146
 
147
+ </body>
148
+
71
- <?php
149
+ </html>
72
-
73
-
74
-
75
- include("../app/_parts/_footer.php");
76
-
77
-
78
-
79
- ?>
80
150
 
81
151
  ```
82
152