diff --git a/public/index.html b/public/index.html index f475e72240f36b4681e52d6dcb6ccf054cad3e67..9be1eb9fbad6a83c2f4df100a2d7a20ba9f23bb7 100644 --- a/public/index.html +++ b/public/index.html @@ -15,12 +15,7 @@ <a href="http://kkj6235.ajousw.kr/testhomepage/">동료의 url</a> - <style> - div { - text-align: center; - } - </style> - <div> + <div class = "ajou"> <img src="./Rafael_Nadal_Doha.jpg" width="200", height="200"> </div> @@ -41,14 +36,7 @@ <h5>소속 : 아주대학교</h5> <h6>학번 : 201920738</h6> - <style> - p {color : black; - background-color : lightgray; - font-size:30px; - font-family:serif;} - - </style> - <p> Welcome to Ajou University 배경색 lightgray, font-size 30px font-family는 serif</p> + <p class = "ajou1"> Welcome to Ajou University 배경색 lightgray, font-size 30px font-family는 serif</p> </body> </html> diff --git a/public/style.css b/public/style.css index 3eae4084bda0c2270306b14ac8c1ca732415edc3..0ace16ffe303d508701d707661aad729bab5d362 100644 --- a/public/style.css +++ b/public/style.css @@ -22,3 +22,13 @@ body { color: #ffffff; } +.ajou { + text-align: center; +} + +.ajou1 {color : black; + background-color : lightgray; + font-size:30px; + font-family:serif; +} +