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...