Interpreting html markup | Computer Science homework help
Unit 4 DB: Interpreting HTML MarkupComplete the Chapter 6 reading, up to and including Exercise 6.2 (Creating “Hello, world!” in HTML). Then go to page 249, and complete the Chapter 6 Lab, where you view the markup behind two websites. After exploring the answers to the seven questions for both websites, and recognizing the components of HTML markup, in your discussion post explain your experience. Could you easily identify the page contents compared to the page code? What languages did the pages use, and were they easy to identify? Why do you think the website developers used those languages?
Chapter 6 Lab
If you want to become a programmer, you will need to study one or more languages. You have a variety of options available, including online materials, in-person classes, and study guides. While this chapter certainly didn’t teach you everything you need to know to become a programmer, you did learn some concepts and a bit about how to read and understand code. For this lab, you will look at a few different websites and see how their code was constructed.
Open the website www.youtube.com in Chrome or Edge. To view the source code in Chrome, right-click the page, and choose View Page Source. In Edge, press the F12 key to show the code. (Or, you can click the Settings And More menu—the three horizontal dots in the upper-right corner—and click F12 Developer Tools.)
Here are some questions for you:
- In what language is the page written?
- What organizational techniques do you see?
- Do you see any branching or looping logic?
- Does the page use functions at all?
- Which scripting languages are used on the home page?
- Find a string of text. Can you find where that string is on the web page?
- Can you find any instances of where a background color is set?