 
    
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>view source Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/view-source/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/view-source/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Sat, 18 Mar 2023 19:30:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>A Quick Introduction to Two Development Tools Built into your Browser</title>
		<link>https://complete-concrete-concise.com/tutorials/webdev/front-end-basics/a-quick-introduction-to-two-development-tools-built-into-your-browser/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 05 Feb 2019 18:33:44 +0000</pubDate>
				<category><![CDATA[Front-End Basics]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[inspect element]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[view page source]]></category>
		<category><![CDATA[view source]]></category>
		<guid isPermaLink="false">https://complete-concrete-concise.com/?p=3778</guid>

					<description><![CDATA[<p>Every modern browser has a number of web inspection and development tools built in. </p>
<p>The post <a href="https://complete-concrete-concise.com/tutorials/webdev/front-end-basics/a-quick-introduction-to-two-development-tools-built-into-your-browser/">A Quick Introduction to Two Development Tools Built into your Browser</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="preamble">
<p>Using a text editor for writing code and a browser for viewing the results works well. However, you can increase your productivity by using two of the tools built into modern browsers:</p>
<ol class="incremental" type="1">
<li><strong>View Page Source</strong> and</li>
<li><strong>Inspect Element</strong></li>
</ol>
<p>Every modern browser has a number of web inspection and development tools built in. While it is beyond the scope of this article to cover everything in detail, I can still point you in the right direction and you can learn as you go along. You won’t use all the features and &#8211; depending on what you are doing &#8211; will focus on a small subset of the available features.</p>
</div>
<h2 id="contents">Contents</h2>
<ol class="incremental" type="1">
<li><a href="#overview">Overview</a></li>
<li><a href="#firefox">FireFox</a></li>
<li><a href="#chrome">Chrome</a></li>
<li><a href="#edge">Edge</a></li>
<li><a href="#view-page-source">View Page Source</a></li>
<li><a href="#inspect-element">Inspect Element</a>
<ol class="incremental" type="1">
<li><a href="#html-elements">HTML Elements</a></li>
<li><a href="#css-styles">CSS Styles</a></li>
<li><a href="#experimenting">Experimenting</a></li>
</ol>
</li>
<li><a href="#final-comments">Final Comments</a></li>
</ol>
<h2 id="overview">Overview</h2>
<p>The tools vary a little from browser to browser, but the basic functionality is the same.</p>
<p>Right clicking on a webpage will bring up a menu with options. Depending on where you right-click, some options may not be available.<a id="fnref1" class="footnote-ref" href="#fn1"><sup>1</sup></a></p>
<p>Below are 3 examples of the right-click menu from various browsers in January 2019:</p>
<h3 id="firefox">FireFox</h3>
<p><img fetchpriority="high" decoding="async" width="600" height="544" class="aligncenter size-full wp-image-3781" src="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-chrome-min.jpg" alt="Firefox right-click menu" srcset="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-chrome-min.jpg 600w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-chrome-min-300x272.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<h3 id="chrome">Chrome</h3>
<p><img decoding="async" width="600" height="544" class="aligncenter size-full wp-image-3783" src="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-ff-min.jpg" alt="Chrome right-click menu" srcset="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-ff-min.jpg 600w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-ff-min-300x272.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<h3 id="edge">Edge</h3>
<p><img decoding="async" width="600" height="544" class="aligncenter size-full wp-image-3782" src="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-edge-min.jpg" alt="Edge right-click menu" srcset="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-edge-min.jpg 600w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-edge-min-300x272.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<h2 id="view-page-source">View Page Source</h2>
<p>Depending on the browser being used, the name might vary a bit, but it will probably have the word <strong>source</strong> in it.</p>
<p>When you select this menu item, it will open a new<a id="fnref2" class="footnote-ref" href="#fn2"><sup>2</sup></a> tab and display the HTML code of the page. This is a good way for you to inspect the actual HTML code making up the page or to print it out.</p>
<p>Selecting <strong>View Page Source</strong> on the <a href="https://complete-concrete-concise.com/sample/32-float.html">previous example page</a> in Firefox 64 looks something like this:<a id="fnref3" class="footnote-ref" href="#fn3"><sup>3</sup></a></p>
<p><img loading="lazy" decoding="async" width="600" height="723" class="aligncenter size-full wp-image-3784" src="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-view-source.png" alt="Sample of View Page Source screenshot" srcset="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-view-source.png 600w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-view-source-249x300.png 249w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<h2 id="inspect-element">Inspect Element</h2>
<p><strong>Inspect Element</strong> offers a wealth of features to you &#8211; well beyond the scope of this article to explore &#8211; but feel free to explore on your own.</p>
<p>You don’t have to worry about damaging the web page or accidentally overwriting your code because browsers cannot modify the source files &#8211; only what is being displayed. A fresh reload overwrites any changes you have made.</p>
<p>Depending on the browser being used, the name might vary a bit, but it will probably have the word <strong>Inspect</strong> in it.</p>
<p>Your browser will split its display window and show the webpage in one section and the HTML and other information in another section. It will go to the location in the HTML source that chose to inspect.</p>
<p>Selecting <strong>Inspect Element</strong> on the <a href="https://complete-concrete-concise.com/sample/32-float.html">previous example page</a> in Firefox 64 looks something like this:<a id="fnref4" class="footnote-ref" href="#fn4"><sup>4</sup></a></p>
<p><a href="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min.jpg"><img loading="lazy" decoding="async" width="1060" height="780" class="aligncenter size-full wp-image-3780" src="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min.jpg" alt="Sample Inspect Element screenshot" srcset="https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min.jpg 1060w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min-300x221.jpg 300w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min-768x565.jpg 768w, https://complete-concrete-concise.com/wp-content/uploads/2019/02/33-inspect-element-min-1024x754.jpg 1024w" sizes="auto, (max-width: 1060px) 100vw, 1060px" /></a></p>
<h3 id="html-elements">HTML Elements</h3>
<p>One of the inspector panes should display the HTML source code &#8211; shaded in red in the image above.</p>
<ol class="incremental" type="1">
<li>As you move your mouse over the HTML elements, you will notice that parts of the webpage get shaded. This shows you which part of the webpage this element affects.</li>
<li>You can left-click on the little triangles found on the left-hand side to expand elements and inspect their sub elements.</li>
<li>Right-clicking on an element will bring up a menu with various options. These often include: edit as HTML and delete element. (don’t worry about damaging your source code, any changes you make in the Element Inspector are <strong>not</strong> permanent &#8211; you can always reload the page to get back to the original).</li>
</ol>
<h3 id="css-styles">CSS Styles</h3>
<p>Another inspector pane should display the CSS styles being applied to the selected element &#8211; shaded in green in the image above.</p>
<ol class="incremental" type="1">
<li>You can disable a particular style by unticking the checkbox.</li>
<li>You can edit the value of a CSS attribute by right-clicking it.</li>
<li>You can add more CSS attributes by right-clicking just after the last CSS style element.</li>
</ol>
<h3 id="experimenting">Experimenting</h3>
<p>There are many options available and it is impossible to cover all of them here. However, feel free to experiment and use a search engine to research the various features.</p>
<p>In general, it should be fairly self-obvious what things are doing. At the moment, you should restrict yourself to just the HTML source and CSS styles. You are free to explore further.</p>
<h2 id="final-comments">Final Comments</h2>
<p>The more you play, work, and practice with these tools, the more familiar they will become and the easier they will be to use.</p>
<p>You are likely to only use a small subset of the features available in <strong>Inspect Element</strong>.</p>
<p>If you use this to inspect live websites, you will &#8211; very likely &#8211; find they are much more complicated than what you have learned so far. Don’t worry about it.</p>
<p>Many websites are built around something called a CMS (Content Management System) &#8211; like WordPress. Content Management Systems automate a lot of things for you and often do many extra things. While the output of a CMS is HTML + CSS, the backend relies on other languages to generate the HTML + CSS displayed in the browser. You still have to be able to create the HTML and CSS and then (programmatically) instruct the CMS when and how to send it to the browser. As a someone learning about web development and starting out with fundamentals of HTML and CSS, you don’t need to worry about all that.</p>
<p>Another thing many websites include is JavaScript code &#8211; which you haven’t seen either.</p>
<p>Focus on getting the fundamentals down and writing clean, well structured HTML and CSS first before worrying about how to integrate it with a CMS or using JavaScript on your pages.</p>
<p>&nbsp;</p>
<section class="footnotes">
<hr>
<ol>
<li id="fn1">This usually happens when you click on an image or video. Just right-click somewhere else on the webpage.<a class="footnote-back" href="#fnref1">↩</a></li>
<li id="fn2">Depending on your browser (or browser settings) it might open in your current tab instead.<a class="footnote-back" href="#fnref2">↩</a></li>
<li id="fn3">Different browsers and browser versions may display things slightly differently.<a class="footnote-back" href="#fnref3">↩</a></li>
<li id="fn4">Different browsers and browser versions may display things slightly differently.<a class="footnote-back" href="#fnref4">↩</a></li>
</ol>
</section>
<div class="prev">
<p><a href="https://complete-concrete-concise.com/tutorials/webdev/front-end-basics/css-a-more-advanced-float-example-part-3/">Prev</a></p>
</div>
<div class="next">
<p><a href="https://complete-concrete-concise.com/tutorials/webdev/front-end-basics/comments-in-html-and-css/">Next</a></p>
</div>
<div class="clear"></div>
<p>The post <a href="https://complete-concrete-concise.com/tutorials/webdev/front-end-basics/a-quick-introduction-to-two-development-tools-built-into-your-browser/">A Quick Introduction to Two Development Tools Built into your Browser</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
