{"id":368,"date":"2023-12-10T17:15:30","date_gmt":"2023-12-10T17:15:30","guid":{"rendered":"https:\/\/bforbit.net\/blog\/?p=368"},"modified":"2024-01-27T16:15:51","modified_gmt":"2024-01-27T16:15:51","slug":"html-code-beginners-guide","status":"publish","type":"post","link":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/","title":{"rendered":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage"},"content":{"rendered":"\n<p>Hypertext markup language, better known as <strong>HTML<\/strong>, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, <strong>CSS<\/strong>, or Cascading Style Sheets, to enhance the page\u2019s design with colors, fonts, and layouts. Rounding out the popular trio of languages for coding novices is <strong>JavaScript<\/strong>, a more advanced programming language which implements interactive components. All three languages can join together to create an appealing and dynamic webpage.<\/p>\n\n\n\n<p>\u201cLearning to code\u201d is a statement used often in today\u2019s digital world as our society becomes more engrossed in technology taking over many aspects of our everyday life. Not everyone will find their niche in coding. For those curious about web development, examining HTML code can shed some insight on what it\u2019s like to create a webpage. In this tutorial, we will focus on basic HTML practices and create a simple page using a few essential elements. Think of HTML as the skeleton of a website. It may not look like much, but once the bones are set in place, the page can enlist the help of stylish CSS and the interactive coordinates of JavaScript to become a fully formed webpage. Below is a comparison image of my website&#8217;s homepage and the difference between using HTML and using the code with an additional language.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd28682d&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"246\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-1024x246.jpg\" alt=\"\" class=\"wp-image-377\" style=\"width:1024px;height:auto\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-1024x246.jpg 1024w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-300x72.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-768x184.jpg 768w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-1536x369.jpg 1536w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/bforbit-htmlcss-code-comparison-2048x491.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\"><em>Left:<\/em> bforbit.net homepage in HTML only.<em> Right:<\/em> Homepage with HTML and CSS<\/figcaption><\/figure>\n\n\n\n<p>To begin coding, you may use a simple text editor installed on your computer. For Windows users, <strong>Notepad<\/strong> is a suitable application to use. Apple users can access a similar program called <strong>TextEdit<\/strong>. The following demonstrations will showcase Notepad.<\/p>\n\n\n\n<p>As stated earlier, HTML relies on opening and closing tags to define the beginning and ends of certain elements. On the blank screen, we will start by defining the document as HTML with opening and closing tags, along with some space in the middle:<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-46bcf3d51b72620a08a65602f4ad3212\"><code>&lt;html&gt;\n\n\n\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:80%\">\n<p>Opening and closing tags in HTML are akin to the popular <strong>Matryoshka<\/strong> dolls, or nesting dolls, where one large doll opens to reveal a smaller one, followed by another, and so forth. Not surprisingly, opening and closing tags are also referred to as nesting tags, for they have the capacity to contain other tags. In this case, the opening and closing HTML tags we just typed will feature all other tags on our webpage. This is why including some extra space in between is ideal, since we will be adding more parts. The ending tag, showcased with the slash (\/), indicates the end of the element. No code exists beyond the ending HTML tag.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd29e572&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image alignright size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"398\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/matrioska.jpg\" alt=\"matryoshka nesting dolls\" class=\"wp-image-379\" style=\"width:300px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/matrioska.jpg 600w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/matrioska-300x199.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Inside the main HTML tags are two important components of the webpage, the <strong>head<\/strong> and the <strong>body<\/strong>. Both the head and body tags are written similarly in code form with the head\u2019s opening and closing tags at the top followed by the opening and closing body tags, as demonstrated below:<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-6f2a03a997ea0159d9fea9a50564984d\"><code>&lt;html&gt;\n\n&lt;head&gt;\n\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Notice how each tag contains space in-between. <em>This is entirely optional.<\/em> In HTML, spacing between words is recognized in the browser, but paragraphs are not unless you include tags specifically related to spacing. For now, the spacing within our text editor serves as a visual aid. You may use as much space as you want as you code, if it helps you recognize the parts more easily.<\/p>\n\n\n\n<p>The <strong>head<\/strong> element plays an important part in HTML as a holding area for various data and documentation, like links to the stylesheet (CSS) and metadata. For the purpose of this basic tutorial, we will only use it to introduce the title tag. The <strong>title<\/strong> describes the title of your webpage and appears on the top outer border and\/or tab in your web browser. I will call this example \u201cMy Page.\u201d<\/p>\n\n\n\n<p>Nested within the head, we&#8217;ll add this new tag and include the title. You may include the end title tag either on the same line or on a separate line, as long as the tag contains a slash to finalize the title and it appears before the ending head tag.<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-49b904c5e13970246ab76a58d98cb6a1\"><code>&lt;html&gt;\n\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>We now have a simple but solid foundation of our web page. To save the web page, click \u201cFile\u201d and \u201cSave As\u201d in your text editor.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd29f78f&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"633\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/html02.jpg\" alt=\"Initial saving of html file using Notepad\" class=\"wp-image-378\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/html02.jpg 739w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/11\/html02-300x257.jpg 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Find the location on your computer that you would like to save your webpage. I created a new folder called &#8220;html-documentation&#8221; and navigated there to save this webpage. It\u2019s good practice to appropriately name your webpage. All main pages on the internet use the name \u201cindex\u201d followed by the extension \u201c.html\u201d. <strong>Index<\/strong> is a keyword recognized by browsers as the default page to display first. The <strong>.html<\/strong> extension lets the computer know your file is an HTML document and the code within must be translated as such. <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2a01b5&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"674\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html03-1024x674.jpg\" alt=\"Save As window with file name index.html\" class=\"wp-image-394\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html03-1024x674.jpg 1024w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html03-300x197.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html03-768x505.jpg 768w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html03.jpg 1047w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Once, you\u2019ve typed \u201cindex.html\u201d as your page\u2019s file name, click \u201cSave.\u201d Navigate to the file\u2019s location and double-click on your file \u201cindex.html.\u201d The file should immediately open in your default browser (Microsoft Edge, Mozilla Firefox, Google Chrome, etc.).<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b3679&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html04.jpg\" alt=\"Blank webpage with title in top left corner\" class=\"wp-image-395\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html04.jpg 750w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html04-300x200.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>You\u2019ll find an empty screen, which is exactly what it\u2019s supposed to look like at this stage. Only the main tags are included in your code with no content (yet). However, look at the top-left of your browser. You should see \u201cMy Page\u201d displayed. This is your title tag in action.<\/p>\n\n\n\n<p>Let\u2019s return to your text editor. If you have already closed it, simply navigate to the location of your file on your computer, right-click on the file \u201cindex.html,\u201d and open with Notepad or your preferred text editor. You may leave your browser open if you prefer.<\/p>\n\n\n\n<p>We explored earlier that the title tag is always included within the Head, along with special scripts and metadata. We will move forward from the head to the body. The <strong>Body<\/strong> is especially important in HTML because the main content resides here. We will explore a few essential elements involving text, paragraphs, hyperlinks, and images in order to add content to our webpage.<\/p>\n\n\n\n<p>After the opening body tag, add some space by pressing the Enter key (if necessary), and type a sentence of your choosing. Tags are not necessary for now. The sentence chosen in this example is \u201c<strong>It\u2019s a magical day!<\/strong>\u201d<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-bc01c2888febf6c792a1a8c8e90c177d\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Save your file, and re-open in your browser to view the changes. If your browser is already open, click the Refresh button to update your saved changes. Your webpage should no longer appear blank but include the words you just typed in the default font and size.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b3f06&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"406\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html05.jpg\" alt=\"Webpage with the sentence It's a magical day!\" class=\"wp-image-396\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html05.jpg 611w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html05-300x199.jpg 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Congratulations! Your webpage now contains content, but it\u2019s only one sentence. Let\u2019s return to the editor and add a second sentence, but before that, we\u2019ll press Enter and add some space below the first one.<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-0a9ce3856b27c6705ea896d6a74f7717\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\nI am learning something new.\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Just like before, save your page and open your file in your browser, or click refresh if it\u2019s already open. What do you see? Your second sentence should be right next to your first sentence, but why is that so? Didn\u2019t we press the Enter key to add some space in-between? The answer is yes, but as stated earlier, line spacing is not recognized in the browser unless you include tags specifically related to spacing. In this case, all of the times we pressed the Enter key was for our visual benefit. In the end, the computer doesn\u2019t care how much you include in your coding file. If you want to see space on your webpage, you have to specify your desire for space using code.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b4661&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"423\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html06.jpg\" alt=\"Two sentences next to one another in a webpage\" class=\"wp-image-397\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html06.jpg 668w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html06-300x190.jpg 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Let\u2019s do exactly that by nesting our second sentence inside a <strong>paragraph<\/strong> tag, represented by the letter p. This will create space for us:<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-55fcd73f45634e8b32f30b11a9756497\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Now our second sentence, \u201c<strong>I am learning something new<\/strong>,\u201d is placed inside an opening and closing &lt;p&gt; tag. Revisit your page to observe what happens. The first and second sentence should now be separate from one another with extra space above (and also below). The Paragraph tag is a very popular tag in HTML for keeping blocks of text separate.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b5f6c&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"471\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html07.jpg\" alt=\"Two sentences in a webpage on separate lines\" class=\"wp-image-398\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html07.jpg 713w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html07-300x198.jpg 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>A similar tag is the <strong>line break<\/strong> element, indicate by &lt;br&gt;. This sends elements to the very next line without creating space above and below. Line breaks do not require an ending tag.<\/p>\n\n\n\n<p>For example, let\u2019s click after our first sentence and add some space. Then type a new sentence directly below our first sentence using the &lt;br&gt; tag:<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-0c9fbd7649ce18fafe00fb2facd019a1\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Our new second sentence, \u201c<strong>It\u2019s time to code<\/strong>,\u201d contains a break tag underneath our first sentence, \u201cIt\u2019s a magical day.\u201d We added space in our code to keep each part separate, but in the end it will not reflect on our webpage. Open or refresh your page to find your second sentence directly under the first. Our third sentence still contains a healthy amount of space above due to the paragraph tag.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b68e3&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"453\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html08.jpg\" alt=\"Three sentences in a webpage using line break and paragraph tags\" class=\"wp-image-399\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html08.jpg 687w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html08-300x198.jpg 300w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Our three sentences look great, but they are the same size. How can we increase the font? Most coding professionals resort to CSS to make font adjustments, but here we will keep it simple and use <strong>heading<\/strong> tags. Heading tags include the letter h followed by a number between 1 to 6, 1 being the largest size and 6 being the lowest. An example of a heading is &lt;h2&gt;, meaning it\u2019s the second largest heading size. All heading sizes include a closing tag (&lt;\/h2&gt;), otherwise all text that follows will be of the same heading size.<\/p>\n\n\n\n<p>In the example code, I am going to choose h1 as my heading, but feel free to try each heading number and pick one you like. I will type a new word below my paragraph: \u201c<strong>Technology<\/strong>.\u201d<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-0cc3423184d71f657a76ed50d6e101a3\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>View your webpage after adding your heading. Does the word appear larger? Notice the space above created by the paragraph tag.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b70eb&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"477\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html09.jpg\" alt=\"3 sentences followed by the heading &quot;Technology.&quot;\" class=\"wp-image-400\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html09.jpg 721w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html09-300x198.jpg 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>So far you have learned how to include content in the body of your webpage with text, paragraphs and line breaks, and headings. You also added a title to the head of your page, which appears in your browser window. This is excellent progress! Now we will learn two more popular elements found in most webpages, hyperlinks and images. <strong>Hyperlinks<\/strong> are also known as links and URLs (Uniform Resource Locator), and they redirect the user to another website by transforming simple text to a clickable element. You have likely clicked on a few links in your time spent on the internet. Links normally change your mouse cursor from a pointer arrow to a finger pointer when you hover over the link.<\/p>\n\n\n\n<p>In HTML, links are initially commanded by the letter \u201ca.\u201d More specifically, it&#8217;s the tag &lt;a href=&#8221;&#8221;&gt;. This may look really complicated at first glance, compared to the other tags we used like &lt;p&gt; and &lt;h1&gt;, so let\u2019s break it down:<\/p>\n\n\n\n<p>\u201ca\u201d introduces the link in your code, and the reason is that it stands for <em>anchor<\/em>. <strong>Anchors<\/strong> are the key to establishing your link destination. \u201chref\u201d simply stands for <em>hypertext reference<\/em>. If you want to create a link, you have to establish where you want the link to send, or refer, you to. We follow up &lt;a href&gt; with an equals sign and quotation marks (=&#8221;&#8221;), and we include the website link between the marks.<\/p>\n\n\n\n<p>In this tutorial, I am going to focus on the popular shopping website, <a href=\"http:\/\/www.amazon.co\" target=\"_blank\" data-type=\"link\" data-id=\"http:\/\/www.amazon.co\" rel=\"noreferrer noopener\">Amazon.com<\/a>. I want to have a clickable link on my webpage to send me directly to the site. Let\u2019s make this happen and add a new line to our existing code. I\u2019ll start by creating another opening and closing paragraph tag, this time underneath our Technology heading:<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-1e3131595286a028a93fc65ffd2bb3d5\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n\n&lt;p&gt;&lt;\/p&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Inside our new paragraph tags, we\u2019ll nest our brand new hyperlink tag, beginning with &lt;a href=&#8221;&#8221;&gt;. Inside the quotation marks, we will type the link address to Amazon\u2019s website, <a href=\"https:\/\/www.amazon.com\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.amazon.com<\/a>, followed by a greater than symbol, <strong>&gt;<\/strong>. It\u2019s very important at this stage to make sure your link is typed correctly. Any missing letter or character can contribute to a broken link and prevent the user from accessing the site.<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-544f73a7a661528b9e617eac6e30257e\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n\n&lt;p&gt;&lt;a href=\"https:\/\/www.amazon.com\"&gt;&lt;\/p&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>You have just referenced a link to another website, but we\u2019re not done yet. After the greater than symbol, we have to tell the computer the text we want to represent the link as it appears on our webpage. In this example, I will simply type the words &#8220;<strong>Shop on Amazon<\/strong>.&#8221; Don\u2019t forget your closing anchor tag to mark the end of your link, &lt;\/a&gt;. Also ensure the ending paragraph tag occurs at the end of it all.<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-4db4e34bcf716bad8896900d2957adcd\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n\n&lt;p&gt;&lt;a href=\"https:\/\/www.amazon.com\"&gt;Shop on Amazon&lt;\/a&gt;&lt;\/p&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>Save your webpage and reopen or refresh your changes in your browser. If typed correctly, you should see the words \u201cShop on Amazon\u201d display in blue with an underline. Move your mouse over the text. Did your cursor change? Click on the link and see where the link takes you. Is Amazon the correct destination? If so, you have successfully created a hyperlink using HTML code!<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b7b75&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"365\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html10.jpg\" alt=\"Webpage with 3 sentences, a heading, and a hyperlink to Amazon\" class=\"wp-image-401\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html10.jpg 685w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html10-300x160.jpg 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2b8170&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"521\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz-1024x521.jpg\" alt=\"Example of Amazon.com homepage\" class=\"wp-image-405\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz-1024x521.jpg 1024w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz-300x153.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz-768x391.jpg 768w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz-1536x781.jpg 1536w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-amz.jpg 1653w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>To recap, you added a new paragraph underneath your existing text, followed by an anchor tag indicating a hyperlink reference to Amazon\u2019s website. You used the words \u201cShop on Amazon\u201d to represent your link on your webpage. You then ended the hyperlink tag as well as the paragraph tag. Great job!<\/p>\n\n\n\n<p><strong>Note:<\/strong> <em>if you click the back button to go from Amazon\u2019s site to your own page, you\u2019ll likely notice your blue link is now purple. The computer recognizes you visited the link and changes the color by default. Color changes can be customized using CSS.<\/em><\/p>\n\n\n\n<p>Now our page consists of text, so adding an <strong>image<\/strong> makes a great final touch to our basic webpage. You can add a picture located on your computer or use one found on the internet. For this tutorial, we will look for a picture online, save it to our computer, and link it to our webpage.&nbsp;<\/p>\n\n\n\n<p>Using our browser, we\u2019ll visit a royalty-free image website like <a href=\"http:\/\/www.pexels.com\" data-type=\"link\" data-id=\"www.pexels.com\" target=\"_blank\" rel=\"noreferrer noopener\">Pexels<\/a> to find a picture. When using pictures on your webpage, it\u2019s important to give credit where it\u2019s due or opt for images without copyright, found on sites like Pexels.<\/p>\n\n\n\n<p>On Pexels, I\u2019ll search for \u201c<em>technology<\/em>,\u201d and find a picture.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2cb928&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"561\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels-1024x561.jpg\" alt=\"technology image found on Pexels\" class=\"wp-image-406\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels-1024x561.jpg 1024w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels-300x164.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels-768x420.jpg 768w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels-1536x841.jpg 1536w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-pexels.jpg 1878w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>In the upper right corner, click the arrow within the green Download button and choose the Small option, followed by &#8220;Download Selected Size.&#8221; Your image will likely download to your computer&#8217;s default folder, like Downloads. Find the image on your computer and move it to the same location as your webpage file (index.html). One method is to right-click image file, left-click Cut, and then right-click Paste the file once you\u2019re in the right location on your computer. Having the image file in the same location as your HTML file will help streamline the linking process and ensure the image displays properly on your page.<\/p>\n\n\n\n<p>Let\u2019s change the name of our image file. You can achieve this by right-clicking the file and choosing \u201cRename.\u201d I will name my picture \u201cdevices.\u201d<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2cc3d2&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"647\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html11.jpg\" alt=\"image and html files side by side\" class=\"wp-image-402\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html11.jpg 1006w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html11-300x193.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html11-768x494.jpg 768w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><strong>Note:<\/strong> <em>Take note of the image\u2019s file extension. Digital pictures appear in different formats, like .jpg or .png. You can check this by opening your picture in your default image viewer and checking the full file name, normally indicated somewhere at the top of the window. Another way to check is by right-clicking the image file and viewing the properties. In this case, my file\u2019s format is listed as .jpg.<\/em><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2ccd0b&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"820\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html12.jpg\" alt=\"File properties for an image file\" class=\"wp-image-403\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html12.jpg 970w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html12-300x254.jpg 300w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html12-768x649.jpg 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Returning to our index.html file, where our code awaits its final piece, let&#8217;s proceed below the Amazon shopping link. Here, we&#8217;ll introduce the image element using the &lt;img&gt; tag.<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-fcfa27b994855e06dbac89e17a463028\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n\n&lt;p&gt;&lt;a href=\"https:\/\/www.amazon.com\"&gt;Shop on Amazon&lt;\/a&gt;&lt;\/p&gt;\n\n&lt;p&gt;&lt;img src=\"\"&gt;&lt;\/p&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>In this context, \u201cimg src\u201d denotes the image source. Through code, the image source is represented by the name and extension of our picture file and enclosed within quotation marks. Insert the name of your image file and its extension. In my case, I&#8217;ll use \u201cdevices.jpg.&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-background-secondary-background-color has-text-color has-background has-link-color has-small-font-size wp-elements-074cb2355af4165d43f02bdf78b61d02\"><code>&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;My Page&lt;\/title&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\nIt\u2019s a magical day!\n\n&lt;br&gt;It\u2019s time to code.\n\n&lt;p&gt;I am learning something new.&lt;\/p&gt;\n\n&lt;h1&gt;Technology&lt;\/h1&gt;\n\n&lt;p&gt;&lt;a href=\"https:\/\/www.amazon.com\"&gt;Shop on Amazon&lt;\/a&gt;&lt;\/p&gt;\n\n&lt;p&gt;&lt;img src=\"devices.jpg\"&gt;&lt;\/p&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>You\u2019ll notice that the image tag does not need an ending image tag because it\u2019s self-closing. Save your page, and check your code in your browser. If you see your image underneath your text, you have successfully linked your image in your webpage. Congratulations!<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b037cd2cdb06&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image aligncenter size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"704\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html13.jpg\" alt=\"Completed webpage with lines of text, a heading, a hyperlink, and image\" class=\"wp-image-404\" style=\"width:700px\" srcset=\"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html13.jpg 667w, https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html13-284x300.jpg 284w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>In this tutorial, you learned how to set a basic framework of a webpage using HTML code. You defined the main HTML tags and nested many more tags within. You learned the simple components of the head and body of a page, the latter being the ultimate container for all code viewed in the browser. You learned how line breaks and paragraphs can create separation between text. You included examples of plain text, followed by a heading and a hyperlink. Finally, you added a visual by downloading a royalty-free image from the internet and linking it to your webpage.<\/p>\n\n\n\n<p>Keep in mind that your HTML file and image are accessible only on your computer, not online for the world to see. In web development, you would have to find a webhost to house your files on a server before the public can see them. Free hosting options exist as well as paid versions to make this happen.<\/p>\n\n\n\n<p>You might notice this page looks simple, but remember, HTML is the skeleton of a webpage. Hopefully this basic tutorial gives you an idea of what it\u2019s like to code. If you choose to continue your coding journey, you\u2019ll learn even more tags and languages that work together to upgrade your webpage.&nbsp;<\/p>\n\n\n\n<p>If you want to dive deeper in coding,<a href=\"https:\/\/www.freecodecamp.org\/learn\/\"> FreeCodeCamp<\/a> offers certifications such as \u201cResponsive Web Design in HTML and CSS.\u201d For a more visual and interactive learning experience, explore some of the free courses on<a href=\"http:\/\/www.scrimba.com\"> Scrimba<\/a>, like <a href=\"https:\/\/scrimba.com\/learn\/htmlandcss\">\u201cLearn HTML and CSS<\/a>.\u201d<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":421,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[22,15,23,24],"class_list":["post-368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry","tag-coding","tag-technology","tag-tutorial","tag-web-development"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"bforbit.net\"\/>\n\t<meta name=\"google-site-verification\" content=\"PqZQYemhlkAQh1RkC4IJ0RZ2s0co5MKMglLTdcTbN_E\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"b.for.bit.blog. - Writing Portfolio by bforbit.net\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.\" \/>\n\t\t<meta property=\"og:description\" content=\"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-12-10T17:15:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-27T16:15:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#blogposting\",\"name\":\"A Beginner\\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.\",\"headline\":\"A Beginner\\u2019s Guide to HTML: Making a Basic Webpage\",\"author\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/html-documentation-1-title.png\",\"width\":800,\"height\":561},\"datePublished\":\"2023-12-10T17:15:30+00:00\",\"dateModified\":\"2024-01-27T16:15:51+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#webpage\"},\"articleSection\":\"Industry, coding, technology, tutorial, web development\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/category\\\/industry\\\/#listItem\",\"name\":\"Industry\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/category\\\/industry\\\/#listItem\",\"position\":2,\"name\":\"Industry\",\"item\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/category\\\/industry\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#listItem\",\"name\":\"A Beginner\\u2019s Guide to HTML: Making a Basic Webpage\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#listItem\",\"position\":3,\"name\":\"A Beginner\\u2019s Guide to HTML: Making a Basic Webpage\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/category\\\/industry\\\/#listItem\",\"name\":\"Industry\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#person\",\"name\":\"bforbit.net\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0f6d293058adbc2b5c34f06dc1dc8c24c39e8f2cc7af6e71f4be14edc95882e4?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"bforbit.net\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"bforbit.net\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0f6d293058adbc2b5c34f06dc1dc8c24c39e8f2cc7af6e71f4be14edc95882e4?s=96&r=g\",\"width\":96,\"height\":96,\"caption\":\"bforbit.net\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#webpage\",\"url\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/\",\"name\":\"A Beginner\\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.\",\"description\":\"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (< \\\/>) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/html-documentation-1-title.png\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#mainImage\",\"width\":800,\"height\":561},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/2023\\\/html-code-beginners-guide\\\/#mainImage\"},\"datePublished\":\"2023-12-10T17:15:30+00:00\",\"dateModified\":\"2024-01-27T16:15:51+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/\",\"name\":\"b.for.bit.blog.\",\"description\":\"Writing Portfolio by bforbit.net\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/bforbit.net\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.","description":"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (< \/>) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance","canonical_url":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"PqZQYemhlkAQh1RkC4IJ0RZ2s0co5MKMglLTdcTbN_E","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#blogposting","name":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.","headline":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage","author":{"@id":"https:\/\/bforbit.net\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/bforbit.net\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-documentation-1-title.png","width":800,"height":561},"datePublished":"2023-12-10T17:15:30+00:00","dateModified":"2024-01-27T16:15:51+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#webpage"},"isPartOf":{"@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#webpage"},"articleSection":"Industry, coding, technology, tutorial, web development"},{"@type":"BreadcrumbList","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/bforbit.net\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/category\/industry\/#listItem","name":"Industry"}},{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/category\/industry\/#listItem","position":2,"name":"Industry","item":"https:\/\/bforbit.net\/blog\/category\/industry\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#listItem","name":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#listItem","position":3,"name":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage","previousItem":{"@type":"ListItem","@id":"https:\/\/bforbit.net\/blog\/category\/industry\/#listItem","name":"Industry"}}]},{"@type":"Person","@id":"https:\/\/bforbit.net\/blog\/#person","name":"bforbit.net","image":{"@type":"ImageObject","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0f6d293058adbc2b5c34f06dc1dc8c24c39e8f2cc7af6e71f4be14edc95882e4?s=96&r=g","width":96,"height":96,"caption":"bforbit.net"}},{"@type":"Person","@id":"https:\/\/bforbit.net\/blog\/author\/admin\/#author","url":"https:\/\/bforbit.net\/blog\/author\/admin\/","name":"bforbit.net","image":{"@type":"ImageObject","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0f6d293058adbc2b5c34f06dc1dc8c24c39e8f2cc7af6e71f4be14edc95882e4?s=96&r=g","width":96,"height":96,"caption":"bforbit.net"}},{"@type":"WebPage","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#webpage","url":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/","name":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.","description":"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (< \/>) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/bforbit.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#breadcrumblist"},"author":{"@id":"https:\/\/bforbit.net\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/bforbit.net\/blog\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/bforbit.net\/blog\/wp-content\/uploads\/2023\/12\/html-documentation-1-title.png","@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#mainImage","width":800,"height":561},"primaryImageOfPage":{"@id":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/#mainImage"},"datePublished":"2023-12-10T17:15:30+00:00","dateModified":"2024-01-27T16:15:51+00:00"},{"@type":"WebSite","@id":"https:\/\/bforbit.net\/blog\/#website","url":"https:\/\/bforbit.net\/blog\/","name":"b.for.bit.blog.","description":"Writing Portfolio by bforbit.net","inLanguage":"en-US","publisher":{"@id":"https:\/\/bforbit.net\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"b.for.bit.blog. - Writing Portfolio by bforbit.net","og:type":"article","og:title":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.","og:description":"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance","og:url":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/","article:published_time":"2023-12-10T17:15:30+00:00","article:modified_time":"2024-01-27T16:15:51+00:00","twitter:card":"summary_large_image","twitter:title":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage - b.for.bit.blog.","twitter:description":"Hypertext markup language, better known as HTML, serves as the baseline for all webpages accessed on the internet. HTML code uses a series of opening and closing tags (&lt; \/&gt;) to determine the beginning and end of elements, or parts. HTML usually works in conjunction with another language, CSS, or Cascading Style Sheets, to enhance"},"aioseo_meta_data":{"post_id":"368","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"html","score":91,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0},"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-01-14 18:11:42","updated":"2025-06-06 05:07:30","seo_analyzer_scan_date":null,"focus_keyword":"html","additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bforbit.net\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bforbit.net\/blog\/category\/industry\/\" title=\"Industry\">Industry<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tA Beginner\u2019s Guide to HTML: Making a Basic Webpage\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bforbit.net\/blog\/"},{"label":"Industry","link":"https:\/\/bforbit.net\/blog\/category\/industry\/"},{"label":"A Beginner\u2019s Guide to HTML: Making a Basic Webpage","link":"https:\/\/bforbit.net\/blog\/2023\/html-code-beginners-guide\/"}],"_links":{"self":[{"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/media\/421"}],"wp:attachment":[{"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bforbit.net\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}