hi. okay doing the travel page lab in the html basics section. now did look at my code and now forgottoen how to do the head name, title and content. is it all on one line. now doing the tests and not liking it. can some one help me out. pasting my code below.
<meta name="Discover Italy Travel Agency" title="Discover Italy Travel Agency" content="">
marvin.
Hi @BlindVisionMan
I edited your post so the code correctly formats on the forum.
Your code is not fulfilling the first four user stories.
In particular:
- test 1 - Your travel agency page should have a
!DOCTYPE
html declaration.
- test 2 - You should have an html element with
lang
set to en
.
- test 3 - You should have a
head
element within the html
element.
- test 4 - You should have two meta elements within your head element.
- test 5 - One meta element should have a
name
attribute with value of description
and a non-empty content attribute.
For test 5 in the meta
element you set the name
attribute value to Discover Italy Travel Agency
instead of description
Also for test 5 the content
attribute value is empty in your code, when it should contain some value.
Here are some hints.
The !DOCTYPE
html declaration should be the first line.
The second line should be the html
element. You will need to include the lang
attribute. The html
element also needs a closing tag.
The rest of the code will nest inside the html
element.
The first element inside the html
element will be the head
element.
Inside the head
element add the two meta
elements.
Also inside the head
element add the title
element.
That will take care of the first seven tests.
Happy coding