0
0
SEO Fundamentalsknowledge~10 mins

XML sitemap creation in SEO Fundamentals - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start an XML sitemap with the correct XML declaration.

SEO Fundamentals
<?xml version=[1] encoding="UTF-8"?>
Drag options to blanks, or click blank then click option'
A"2.0"
B"UTF-8"
C"1.0"
D"xml"
Attempts:
3 left
💡 Hint
Common Mistakes
Using encoding value instead of version in the version attribute.
Omitting the XML declaration entirely.
2fill in blank
medium

Complete the code to open the root element of an XML sitemap.

SEO Fundamentals
<[1] xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Drag options to blanks, or click blank then click option'
Aurlset
Bsitemap
Curl
Dsite
Attempts:
3 left
💡 Hint
Common Mistakes
Using as the root element instead of .
Using incorrect element names like or .
3fill in blank
hard

Fix the error in the URL entry by completing the tag for the page location.

SEO Fundamentals
  <url>
    <loc>[1]</loc>
  </url>
Drag options to blanks, or click blank then click option'
Apage1.html
Bhttps://example.com/page1
Chttp://example/page1
Dexample.com/page1
Attempts:
3 left
💡 Hint
Common Mistakes
Using relative URLs instead of full URLs.
Omitting the protocol (http or https).
4fill in blank
hard

Fill both blanks to add the last modification date and change frequency for a URL entry.

SEO Fundamentals
  <url>
    <lastmod>[1]</lastmod>
    <changefreq>[2]</changefreq>
  </url>
Drag options to blanks, or click blank then click option'
A2024-06-01
Bweekly
C06/01/2024
Dmonthly
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect date formats like MM/DD/YYYY.
Using invalid change frequency values.
5fill in blank
hard

Fill all three blanks to complete a URL entry with priority, last modification date, and change frequency.

SEO Fundamentals
  <url>
    <priority>[1]</priority>
    <lastmod>[2]</lastmod>
    <changefreq>[3]</changefreq>
  </url>
Drag options to blanks, or click blank then click option'
A0.8
B2024-05-15
Cdaily
D1.5
Attempts:
3 left
💡 Hint
Common Mistakes
Using priority values outside the 0.0 to 1.0 range.
Incorrect date formats in .
Invalid change frequency keywords.