LabHTML02 HTML Structure
LabHTML02 HTML Structure
1.1.1 Constraints
· <nav> tag as container
· <body>
o Margin: 0px;
o Padding: 0px;
o Background Color: #CCCCCC;
· <ul> tag for unordered list
o Background Color: #444;
o Center the text
o Padding: 0px;
o Margin: 0px;
o list-style:none;
· <li> tag for list item
o Text size: 24px;
o Line Height: 40px;
o Height: 40px;
o Padding: 20px;
· <a> tag for hyperlink
o text-decoration: none;
o Text-Color: #ffffff;
1.1.2 Hints
Use:
· <li> with display: inline-block;
1.2 Page Content
1.2.1 Constraints
· <section> as a container
· <article> tag for content
o <header> with:
§ <h1> Text size: 28px;
§ <p> Font Style: italic;
· Paragraph
o Text size: 24px;
· <body>
o Margin: 0px;
o Padding: 0px;
o Background color: #CCCCCC;
· <section>
o Margin Left: 20px;
1.3 Simple Website
1.3.1 Constrains
· Use the html and css from previous two problems
· <footer> tag
o Background color: #444;
o <p> tag for text
o Text Color: #fff;
o Center the text
1.3.2 Hints
Use:
· © for copyright symbol
1.4 Exam Results
1.4.1 Constrains
· Border for <table>, <td>, <tr>, <th>
o 1px solid #000000;
1.4.2 Hints
Use:
· № for number sign