Consider the following JavaScript code that conducts XML parsing
text = "<bookstore><book>" + "<title>Everyday Italian</title>" +
"<author>Giada De Laurentiis</author>" + "<year>2005</year>" +
"</book></bookstore>";
parser = new DOMParser();xmlDoc = parser.parseFromString(text,"text/xml");
var a = xmlDoc.getElementsByTagName("year")[0].nodeName;
What would the value of variable a be set to?Consider the XHTML code below.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Sample title</title>
<link type="text/css" rel="stylesheet" href="style.css"/>
</head>
<body> <p>
The displayable text</p> </body>
</html>
Is it well-formed?
Яка частина пістолета Макарова зображена на малюнку?
Хто заздрив Шевченкові за те, що «він зумів узяти в своє серце дух і силу землі, на якій зріс, мелодію мови свого народу і не розгубив їх, не перелицював, а лише огранив і дорогими коштовностями роздавав кожному, хто не лінився брати…»