PUG
2019.10.01 18:49

PUG 06 / DOCTYPE

조회 수 431 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

 

doctype html

 

<!DOCTYPE html>

 

DOCTYPE SHORTCUTS

doctype html

<!DOCTYPE html>

 

doctype xml

<?xml version="1.0" encoding="utf-8" ?>

 

doctype transitional

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

 

doctype strict

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

 

doctype frameset

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

 

doctype 1.1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

 

doctype basic

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">

 

doctype mobile

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

 

doctype plist

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

 

Custom Doctypes 

doctype html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN">

 

Doctype Option 

var pug = require('pug');

var source = 'img(src="foo.png")';

pug.render(source);
// => '<img src="foo.png"/>'

pug.render(source, {doctype: 'xml'});
// => '<img src="foo.png"></img>'

pug.render(source, {doctype: 'html'});
// => '<img src="foo.png">'

 

 

?

List of Articles
번호 분류 제목 날짜 조회 수
38 node.js - 1 Express에서 POST 방식 사용하기 2019.10.16 349
37 node.js - 1 Express에서 MySql 사용 2019.10.10 843
36 node.js - 2 Node.js MySQL Limit 2019.10.10 288
35 node.js - 2 Node.js MySQL Update 2019.10.10 276
34 node.js - 2 Node.js MySQL Drop Table 2019.10.08 357
33 node.js - 2 Node.js MySQL Delete 2019.10.08 302
32 node.js - 2 Node.js MySQL Order By 2019.10.08 285
31 node.js - 2 Node.js MySQL Where 2019.10.08 494
30 node.js - 2 Node.js MySQL Select From 2019.10.08 630
29 node.js - 2 Node.js MySQL Insert Into 2019.10.01 933
28 node.js - 2 Node.js MySQL Create Table 2019.10.01 324
27 PUG PUG 07 / INCLUDES 2019.10.01 358
» PUG PUG 06 / DOCTYPE 2019.10.01 431
25 node.js - 2 Node.js MySQL 2019.09.27 315
24 node.js - 2 NPM의 사용 2019.09.26 313
23 node.js - 2 Node.js URL Module 2019.09.26 461
22 PUG PUG 05 / Conditionals 2019.09.19 755
21 PUG PUG 04 / Comments 2019.09.19 329
20 PUG PUG 03 / Code 2019.09.19 691
19 PUG PUG 02 / Case 2019.09.19 367
Board Pagination Prev 1 2 Next
/ 2