html문법 좀 봐주세요

html문법 좀 봐주세요

QA

html문법 좀 봐주세요

본문


<!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

 

 

 

답변을 작성하시기 전에 로그인 해주세요.
전체 1,120
QA 내용 검색
filter #html ×

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT