diff --git a/README.md b/README.md
index 4770f6ca9..c0792cfb3 100644
--- a/README.md
+++ b/README.md
@@ -18,26 +18,26 @@ See [instructions](https://maps4html.org/web-map-doc/docs/installation#install-t
## Usage
You create a map with one or more layers via the <mapml-viewer> HTML tag. Add
-layers via the <layer-> tag with content OR a src attribute pointing to a
+layers via the <map-layer> tag with content OR a src attribute pointing to a
MapML document (must be served as either `text/mapml` or `application/xml` content
type):
```html
-
+
```
OR inline content
```html
-
+
-
+
```
diff --git a/index.html b/index.html
index 0c44a7f28..c2cd34860 100644
--- a/index.html
+++ b/index.html
@@ -33,7 +33,7 @@
vertical-align: middle;
}
- /* Pre-style to avoid FOUC of inline layer- and fallback content. */
+ /* Pre-style to avoid FOUC of inline map-layer and fallback content. */
mapml-viewer:not(:defined) > * {
display: none;
}
@@ -70,7 +70,7 @@
contain-intrinsic-size: 304px 154px;
}
- /* Pre-style to avoid FOUC of inline layer- and fallback content. */
+ /* Pre-style to avoid FOUC of inline map-layer and fallback content. */
map[is="web-map"]:not(:defined) + img[usemap],
map[is="web-map"]:not(:defined) > :not(area):not(.mapml-web-map) {
display: none;
@@ -80,7 +80,7 @@
supported, or if javascript is disabled. This needs to be defined separately
from the above, because the `:not(:defined)` selector invalidates the entire
declaration in browsers that do not support it. */
- layer- {
+ map-layer {
display: none;
}
@@ -88,7 +88,7 @@
@@ -57,7 +57,7 @@
@@ -57,7 +57,7 @@
@@ -57,7 +57,7 @@