XHTML Syntax Practice
Total Page:16
File Type:pdf, Size:1020Kb
Name: ______
XHTML Syntax Practice Sheet
Syntax rule: Each element must have a beginning and a closing tag.
1.
It’s great to talk to you again.
2.
Click here for programming tips.
3.
- Do, a dear, a female deer
- Re, a drop of golden sun
4.
Me, a name I call myself
Fa, a long, long way to run
5.
Pretty bird. See the pretty bird.
Name: ______XHTML Syntax Practice SheetSyntax rule: Elements must be properly nested.
1.
2.
3.
- So, a needle pulling thread
4.
Name: ______XHTML Syntax Practice SheetSyntax rules: Attribute names must be in lowercase. Attribute values must be in quotes. Attributes must be separated by spaces.
1.
2.
3.
4.
5.
Answer Key
PAGE 1:
1. Missing closing
tag2. Missing closing tag
3. Missing both closing tags
4. Both
tags should be
5. should be
PAGE 2:
1.
tags should be reversed2.
tags should be reversed3.