From 8bd840f28e2d72ad9d7f00b7b31759f3ee52aff9 Mon Sep 17 00:00:00 2001 From: Jeonguiyeob <uiyeop@ajou.ac.kr> Date: Wed, 22 Mar 2023 22:55:16 +0900 Subject: [PATCH] final edit --- public/index.html | 16 ++-------------- public/style.css | 10 ++++++++++ 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/public/index.html b/public/index.html index f475e72..9be1eb9 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 3eae408..0ace16f 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; +} + -- GitLab