3. Text and Typography
Activity 3.01: Converting a Newspaper Article to a Web Page
Solution
- Start with the following HTML code, which will form the starting point:
<!DOCTYPE html> <html lang = "en"> <head> <title>Newspaper article</title> </head> <body> <!-- …your markup goes here --> </body> </html>
- Now, let's add the HTML, starting with the article heading and then followed by all text-based elements:
<!DOCTYPE html> <html lang = "en"> <head> <title>Newspaper article</title> </head> <body> <article> <h1>News article heading</h1> <p> <strong>Introduction text</strong> </p> <p> Lorem ipsum dolor sit amet...