Introduction: Editing a Webpage in Google Chrome
What if I told you that you could edit any webpage or website on the internet right from your home computer without any special software or insane computer programming skills? It's easy! The only thing that you need to make this trick work is the popular web browser Google Chrome. This trick will allow you to change the appearance of any webpage on your local machine. This means that it is localized; only you can see this, as it is only affecting the static page on your machine. It is also temporary. Once you refresh, reload, whatever, the changes you made will be lost. However, this is still a fun and potentially useful trick.
Sorry in advance if the picture quality is not desirable, the screenshots that I took were not high quality.
Step 1: Use the Developer Tools
In Google Chrome, there is a feature known as 'Developer Tools'. This is similar to an onscreen view of the webpages' source code, except that it is in some ways dynamic. You can change the code that you see, and the webpage will respond accordingly. So, how do we access this magical feature? Simple. On your keyboard, press
Ctrl + Shift + I
Step 2: Editing the HTML
If you want to edit the HTML of the webpage, it's very easy. If the specific item that you want to edit is visible, use your mouse to scroll over the source code. As you do, the part of the webpage that that item or container controls will be highlighted, most likely in blue. If the source that your mouse is hovering over is a container, click the little drop down arrow to its immediate left. Once you have the element that you want, right click it. A menu will appear; select the item that is labeled Edit as HTML. Now, you can make the changes you want to the source. When you are done, click anywhere outside of the editor. Now, the webpage is updated to your specifications.
Step 3: Editing the CSS
If you want to change anything about the actual appearance of the webpage, like it's color for example, then you need to edit the CSS. This is done in much the same manner as is editing the HTML. Simply hover over the source until the part of the webpage that you want to edit is highlighted. Click on the corresponding source element. Now, shift your attention to the right side of the Source Editor. Here, you see the CSS editor, where you can change the appearance of the selected element. To change this code, just click on the desired item and preform your changes.
Step 4: Where to Go From Here?