May every moment inspire me.

study things

XML Tutorial 02: XML Quiz

my_jennyee 2019. 8. 9. 16:18

XML 홈페이지에서는 간단하게 XML Quiz를 제공하고 있다.

https://www.w3schools.com/quiztest/quiztest.asp?qtest=XML

 

W3Schools Quiz v2.1

XML Quiz Question 1 of 25: What does XML stand for? W3Schools' Online Certification The perfect solution for professionals who need to balance work, family, and career building. More than 25 000 certificates already issued! Get Your Certificate » The HTML

www.w3schools.com


1. What does XML stand for

- eXtensible Markup Language

 

2. XML 데이터를 묘사하는 방법은 어떤것이 있니? (There is a way of describing XML data, how?)

- XML uses a DTD to describe the data

: XML은 데이터를 묘사하기 위해 DTD를 사용합니다. (DTD: Document Type Definition)

 

3. XML의 목적은 HTML를 대체하기 위함은 아니니다.

 

4. XML 정의시, XML version을 제일 먼저 선언해줍니다. 이에 대한 syntax는?

- <?xml version="1.0"?>

 

5. 다음의 XML이 잘 정의가 되었니? - 네

<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
  • xml 버전을 선언해 준다. <?xml version="1.0"?>
  • 시작하는 태그는 <tag> / 끝나는 태그는 </tag> 이런식으로 사용하며, 태그를 시작하면 꼭 끝내는 태그를 사용해 끝내주어야 한다.
  • <note> 는 element 이고, <to> <from> <heading> <body> 는 attribute 이다.

 

? 태그의 규칙은 무엇이지?

728x90