<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Digital Academy</title>
    <description>The latest articles on Forem by Digital Academy (@gitdemy).</description>
    <link>https://forem.com/gitdemy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F901445%2F7baebc1f-ffcd-4e96-9c40-37e37240f023.jpg</url>
      <title>Forem: Digital Academy</title>
      <link>https://forem.com/gitdemy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/gitdemy"/>
    <language>en</language>
    <item>
      <title>HTML hidden element</title>
      <dc:creator>Digital Academy</dc:creator>
      <pubDate>Sat, 10 Sep 2022 15:48:35 +0000</pubDate>
      <link>https://forem.com/gitdemy/html-hidden-element-33a4</link>
      <guid>https://forem.com/gitdemy/html-hidden-element-33a4</guid>
      <description>&lt;h2&gt;
  
  
  What is The HTML hidden attribute?
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;HTML hidden attribute&lt;/strong&gt; is used to hide an element. It indicates that the element is not yet, or no longer, relevant. It sets the visibility of the elements in the document.  When it is present the browser will not display the element to the user, but it remains in its position on the webpage.&lt;/p&gt;

&lt;p&gt;The hidden element is used to not show the element to the user unless certain conditions are met such as pressing a button or checkbox, etc. Using JavaScript statement, the hidden attribute can be removed and make the element visible to the user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: The hidden attribute is a boolean attribute.&lt;br&gt;
&lt;strong&gt;Example 1&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;br&gt;
&amp;lt;html&amp;gt;&lt;br&gt;
&amp;lt;head&amp;gt;&lt;br&gt;
    &amp;lt;title&amp;gt;hidden attribute&amp;lt;/title&amp;gt;&lt;br&gt;
&amp;lt;/head&amp;gt;&lt;br&gt;
&amp;lt;body&amp;gt;&lt;br&gt;
    &amp;lt;h1&amp;gt;GitDemy&amp;lt;/h1&amp;gt;&lt;br&gt;
    &amp;lt;h2&amp;gt;HTML hidden attribute&amp;lt;/h2&amp;gt;&lt;br&gt;
    &amp;lt;!-- hidden paragraph --&amp;gt;&lt;br&gt;
    &amp;lt;div hidden&amp;gt;&lt;br&gt;
      This content will be hidden while&lt;br&gt;
      displaying the content&lt;br&gt;
    &amp;lt;/div&amp;gt;&lt;br&gt;
    &amp;lt;h4&amp;gt;A computer science portal for development.&amp;lt;/h4&amp;gt;&lt;br&gt;
&amp;lt;/body&amp;gt;&lt;br&gt;
&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Output&lt;/strong&gt;&lt;br&gt;
In the following example, the div element is hidden from the user's view.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5NyAKFoR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/47m4zlopgy9uk1j0w8r7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5NyAKFoR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/47m4zlopgy9uk1j0w8r7.jpg" alt="Image HTML hidden attribute example output" width="517" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This article is originally posted on &lt;a href="https://gitdemy.com"&gt;GitDemy&lt;/a&gt;&lt;br&gt;
Read full article, click the below link.&lt;br&gt;
&lt;a href="https://gitdemy.com/reference/html-hidden-attribute"&gt;HTML hidden attribute&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is the difference between absolute and relative URLs?</title>
      <dc:creator>Digital Academy</dc:creator>
      <pubDate>Sun, 04 Sep 2022 12:07:56 +0000</pubDate>
      <link>https://forem.com/gitdemy/what-is-the-difference-between-absolute-and-relative-urls-40g0</link>
      <guid>https://forem.com/gitdemy/what-is-the-difference-between-absolute-and-relative-urls-40g0</guid>
      <description>&lt;h2&gt;
  
  
  What is a URL?
&lt;/h2&gt;

&lt;p&gt;URL is the mechanism to fetch resources over the internet. The browsers use this to fetch the data to the user.&lt;/p&gt;

&lt;p&gt;URL is the abbreviation of a uniform resource locator. It is commonly known as a web address or internet address of any resource on the web. The resource may be the HTML document, image, audio, video, pdf file, CSS document, etc. In some cases, it may be the possibility the URL is being pointed to a resource that does not exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the types of URLs?
&lt;/h2&gt;

&lt;p&gt;As I have explained above, any URL is the link of a webpage or files like an image, pdf, audio, or video.&lt;/p&gt;

&lt;p&gt;These links have two types&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://gitdemy.com/what-is-difference-between-absolute-and-relative-urls-127"&gt;Relative URL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gitdemy.com/what-is-difference-between-absolute-and-relative-urls-127"&gt;Absolute URL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What are relative URLs?
&lt;/h2&gt;

&lt;p&gt;Relative URLs are only paths without a domain name. Relative defines “in relation to” which means the path is related to the current webpage domain name. We can say that relative paths are the reference of the file that is located on the same web address/domain.&lt;/p&gt;

&lt;p&gt;Look at the different relative URLs.&lt;br&gt;
&lt;code&gt;&amp;lt;img src="gitdemy-logo.png"&amp;gt;&lt;br&gt;
&amp;lt;img src="./gitdemy-logo.png"&amp;gt;&lt;/code&gt;&lt;br&gt;
The above relative links mean the browser will search the file from the current directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are absolute URLs?
&lt;/h2&gt;

&lt;p&gt;Absolute URL contains both domain name and path. It is the complete information of a file or webpage. These URLs start with any protocol https:// or https://.&lt;/p&gt;

&lt;p&gt;The syntax of absolute URL&lt;br&gt;
protocal:://domain-name/path&lt;br&gt;
Absolute URLs are written in the address bar of web browsers. It is the full link of any resources that existed on the webserver.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;https://gitdemy.com&lt;br&gt;
https://gitdemy.com/aritcles&lt;br&gt;
https://gitdemy.com/articles/html&lt;br&gt;
https://gitdemy.com/what-are-hyperlinks-in-html-126&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you want to read full article, click the following&lt;br&gt;
&lt;a href="https://gitdemy.com/what-is-difference-between-absolute-and-relative-urls-127"&gt;Relative vs Absolute URL&lt;/a&gt;&lt;/p&gt;

</description>
      <category>absoluteurl</category>
      <category>relativeurl</category>
      <category>url</category>
      <category>html</category>
    </item>
    <item>
      <title>How to link to another site in HTML?</title>
      <dc:creator>Digital Academy</dc:creator>
      <pubDate>Mon, 01 Aug 2022 12:05:00 +0000</pubDate>
      <link>https://forem.com/gitdemy/how-to-link-to-another-site-in-html-57n9</link>
      <guid>https://forem.com/gitdemy/how-to-link-to-another-site-in-html-57n9</guid>
      <description>&lt;h2&gt;
  
  
  What is an anchor tag?
&lt;/h2&gt;

&lt;p&gt;An anchor tag is used to specify the link to another site or the same website's pages, the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element can also be used to link between different sections in the document, for example within the table of content.&lt;br&gt;
Here we will discuss how to implement and apply the anchor tag to link external URLs.&lt;/p&gt;
&lt;h2&gt;
  
  
  Basic use of anchor tag.
&lt;/h2&gt;

&lt;p&gt;In the following example, there is the basic implementation of the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;a href="https://gitdemy.com/"&amp;gt;Link to gitdemy.com&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above syntax creates the link to the URL "&lt;code&gt;https://gitdemy.com&lt;/code&gt;", which is specified by the href (Hypertext Reference) attribute. When someone clicks on the hypertext "Link to gitdemy.com" the link leads to the required page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using external link type
&lt;/h2&gt;

&lt;p&gt;You can use the external link type to indicate that the link leads to an external website. A &lt;code&gt;rel="external"&lt;/code&gt; attribute is used to inform the search engines that the link on a site is related to an outside website.&lt;/p&gt;

&lt;p&gt;Read more, click the following link.&lt;br&gt;
&lt;a href="https://gitdemy.com/solution/how-to-link-to-another-site-in-html"&gt;https://gitdemy.com/solution/how-to-link-to-another-site-in-html&lt;/a&gt;&lt;/p&gt;

</description>
      <category>hyperlinks</category>
      <category>website</category>
      <category>html</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
