AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Firefox developer edition vs chrom8/2/2023 ![]() The structure of this page is such that there are multiple single-child elements. You'll notice that the div element contains a single child: a header element. Let's dive further into the structure of the header by clicking on the arrow next to the line: Open the header This highlighting tells you that the line you're hovering over corresponds to the page header. The page header will highlight: Highlighted header A parent element can have multiple children: the page header element on this page contains child elements: the OpenClassrooms logo, some links, a Search button, and the buttons related to signing in.Īs you hover over various lines of code, the corresponding elements are highlighted on the displayed page. The code you see in the inspector is HTML code - the language used to define a web page's structure.Ī web page consists of elements - text, images, buttons. You'll find the option in the "Customize and control DevTools" menu: Customize DevTools Re-anchored DevTools To make things easier to read, I prefer to anchor the DevTools on my screen's right-hand side. The shortcuts are the same for both Chrome and Firefox, and all of the procedures in this section are identical, just with some subtle differences between the icons (but you'll find everything in the same places on both browsers). The inspector will open at the bottom of your screen. To inspect this page's structure, you're going to need the Elements inspector. Let's start by opening in Chrome: OpenClassrooms - Paths In this chapter, you'll be using the Chrome and Firefox developer tools - affectionately known as the DevTools - to analyze a page from the OpenClassrooms website! Explore the Inspector - HTMLįrom an OpenClassrooms web page, find out what the HTML inspector looks like on your web browser:
0 Comments
Read More
Leave a Reply. |