Point an object at its file directly.
Acceptance criteria
- 1.Point an object at its file directly.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <param> Tag (Obsolete) chapter. 5 of them ask you to build something small from scratch; 5 give you code that is already broken and ask you to work out why. Set aside about 90 minutes for the whole set, though you can do them in any order.
Nothing here is marked by a person. When you press Submit, the editor checks your code against the points listed under each task and tells you straight away what passed and what didn't (you need a free account to submit). If you get stuck, there are hints, and a worked solution once you've had a go. The first 2 tasks are free; the rest are part of the practice plan.
If it's been a while since you read the chapter, here is how it starts: “The <param> element is obsolete and must not be used in new HTML documents.” Read the chapter.
1.Use the data attributeexercise · easy · 10 min
Point an object at its file directly.
Passes when: Point an object at its file directly.
2.Declare the typeexercise · easy · 10 min · practice plan
Say what kind of resource it is.
Passes when: Say what kind of resource it is.
3.Add fallback contentexercise · easy · 10 min · practice plan
Show a message if it cannot load.
Passes when: Show a message if it cannot load.
4.Use an iframe insteadexercise · easy · 10 min · practice plan
Embed a page with an iframe rather than an object.
Passes when: Embed a page with an iframe rather than an object.
5.A modern embedexercise · medium · 10 min · practice plan
Embed the page with a titled, sized iframe.
Passes when: Embed the page with a titled, sized iframe.
6.Fix the param elementbug fix · easy · 8 min
param is obsolete; the object carries its own data attribute.
Passes when: param is obsolete; the object carries its own data attribute.
7.Fix the missing typebug fix · easy · 8 min · practice plan
The browser needs to know the format.
Passes when: The browser needs to know the format.
8.Fix the fallback given as a parambug fix · easy · 8 min · practice plan
Fallback content goes between the object tags.
Passes when: Fallback content goes between the object tags.
9.Fix the applet used to embed a pagebug fix · easy · 8 min · practice plan
Use an iframe for another HTML page.
Passes when: Use an iframe for another HTML page.
10.Fix the untitled, unsized framebug fix · easy · 8 min · practice plan
Give the iframe a title and real dimensions.
Passes when: Give the iframe a title and real dimensions.
Between them these tasks cover Obsolete parameters, object data and Modern embedding.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.