Rename files to library.

This commit is contained in:
2022-01-25 17:51:06 +01:00
parent 8371a5f8af
commit 4e0c20683d
3 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,6 @@
<!ELEMENT library (book+)>
<!ELEMENT book (title,author,lang,year)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT lang (#PCDATA)>
<!ELEMENT year (#PCDATA)>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet href="style.css" type="text/css"?>
<!DOCTYPE library SYSTEM "library.dtd">
<library>
<book>
<title>Ishmael</title>
<author>Daniel Quinn</author>
<lang>EN</lang>
<year>1992</year>
</book>
<book>
<title>The Lamb's Supper: The Mass as Heaven on Earth</title>
<author>Scott Hahn</author>
<lang>EN</lang>
<year>1999</year>
</book>
<book>
<title>Steppenwolf</title>
<author>Hermann Hesse</author>
<lang>DT</lang>
<year>1927</year>
</book>
<book>
<title>Industrial Society and Its Future</title>
<author>Theodore John "Unabomber" Kaczynski</author>
<lang>EN</lang>
<year>1995</year>
</book>
<book>
<title>Towards a New Socialism</title>
<author>William Paul Cockshott</author>
<lang>EN</lang>
<year>1993</year>
</book>
<book>
<title>El Legado Del Cristianismo En La Cultura Occidental</title>
<author>César Vidal</author>
<lang>ES</lang>
<year>2002</year>
</book>
</library>

35
1/LMSGI/library/style.css Normal file
View File

@ -0,0 +1,35 @@
* {
box-sizing: border-box;
display: block;
}
book {
background-color: lightgreen;
color: black;
width: 400px;
padding:10px;
border: 3px solid;
margin: 10px auto;
}
title {
text-decoration: underline;
font-weight: bold;
text-align: center;
}
author {
font-style: italic;
}
author:before {
content: "Author: ";
}
lang:before {
content: "Language: ";
}
year:before {
content: "Publication: ";
}