html문법 좀 봐주세요

html문법 좀 봐주세요

QA

html문법 좀 봐주세요

답변 3

본문


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
닷슬라이드테스트
<?include"dot_slide.htm";?>
</body>
</html>

틀린부분이 있는지 좀 봐주세요 고수님들 

감사합니다.

 

이 질문에 댓글 쓰기 :

답변 3

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
닷슬라이드테스트
<?php include "dot_slide.htm";?>
</body>
</html>

순차적으로 테스트/확인해 가면 어떨까 싶습니다.

 

1) a.php 파일 생성

<?php

echo "test";

?>

 

2) a.php 파일 브라우저에서 확인 : http://[사이트 주소]/a.php 

 

3) b.php 파일 생성

<?php

echo "abc";

?>

 

4) a.php 파일 수정

<?php

echo "test";

include "b.php";

 

5) a.php 파일 브라우저에서 확인 : http://[사이트 주소]/a.php 

 

6) a.php 파일 이름 a.html 로 변경, 브라우저에서 확인 : http://[사이트 주소]/a.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
이것은
<!DOCTYPE html>

 

<html xmlns="http://www.w3.org/1999/xhtml"> 이것은

<html>

 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 이것은

<meta charset="utf-8">

이렇게 하면 됩니다.

https://365ok.co.kr/tj/html5

 

 

 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로