<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dhiraj Khadka - A Blogger From Sudurpaschim]]></title><description><![CDATA[Dhiraj Khadka is a talented blogger and UI/UX designer from Sudurpaschim Nepal. With a passion for both blogging and design, Dhiraj brings a unique perspective to the online community.]]></description><link>https://dhirajkhadka.com.np</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 10:55:06 GMT</lastBuildDate><atom:link href="https://dhirajkhadka.com.np/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Learn more about Html Attributes.]]></title><description><![CDATA[HTML attributes provide additional information about HTML elements.
HTML Attributes
 1.All HTML elements can have attributes.
2.Attributes provide additional information about elements.
3.Attributes are always specified in the start tag.
4.Attributes...]]></description><link>https://dhirajkhadka.com.np/learn-more-about-html-attributes</link><guid isPermaLink="true">https://dhirajkhadka.com.np/learn-more-about-html-attributes</guid><category><![CDATA[HTML5]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Wed, 28 Jul 2021 19:28:50 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1627500470551/DsdFZJT8U.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>HTML attributes provide additional information about HTML elements.</p>
<h3 id="html-attributes">HTML Attributes</h3>
<p> 1.All HTML elements can have attributes.</p>
<p>2.Attributes provide additional information about elements.</p>
<p>3.Attributes are always specified in the start tag.</p>
<p>4.Attributes usually come in name/value pairs like: <code>name="value"</code></p>
<h4 id="the-href-attribute">The href Attribute</h4>
<p>The <code>&lt;a&gt;</code> tag defines a hyperlink. The <code>href</code> attribute specifies the URL of the page the link goes to:</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"https://blg.hashnode.dev"</span>&gt;</span> Blogdev<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
</code></pre><p>You will learn more about links in our HTML Links chapter.</p>
<h4 id="the-src-attribute">The src Attribute</h4>
<p>The <code>&lt;img&gt;</code>tag is used to embed an image in an HTML page. The src attribute specifies the path to the image to be displayed:</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"img_girl.jpg"</span>&gt;</span>
</code></pre><h4 id="the-width-and-height-attributes">The width and height Attributes</h4>
<p>The <code>&lt;img&gt;</code> tag should also contain the width and height attributes, which specifies the width and height of the image (in pixels):</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"img_girl.jpg"</span> <span class="hljs-attr">width</span>=<span class="hljs-string">"500"</span> <span class="hljs-attr">height</span>=<span class="hljs-string">"600"</span>&gt;</span>
</code></pre><h4 id="the-alt-attribute">The alt Attribute</h4>
<p>The required alt attribute for the <code>&lt;img&gt;</code> tag specifies an alternate text for an image, if the image for some reason cannot be displayed. This can be due to slow connection, or an error in the src attribute, or if the user uses a screen reader.</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"img_girl.jpg"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Girl with a jacket"</span>&gt;</span>
</code></pre><h5 id="example">Example</h5>
<p>See what happens if we try to display an image that does not exist:</p>
<p><img src="img_typo.jpg" alt="Girl with a jacket" /></p>
<h4 id="the-style-attribute">The style Attribute</h4>
<p>The style attribute is used to add styles to an element, such as color, font, size, and more.</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"color:red;"</span>&gt;</span>This is a red paragraph.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre><h4 id="the-lang-attribute">The lang Attribute</h4>
<p>You should always include the lang attribute inside the <code>&lt;html&gt;</code> tag, to declare the language of the Web page. This is meant to assist search engines and browsers.</p>
<h4 id="the-following-example-specifies-english-as-the-language">The following example specifies English as the language:</h4>
<pre><code> <span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en"</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
...
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre><p>Country codes can also be added to the language code in the lang attribute. So, the first two characters define the language of the HTML page, and the last two characters define the country.</p>
<h4 id="the-following-example-specifies-english-as-the-language-and-united-states-as-the-country">The following example specifies English as the language and United States as the country:</h4>
<pre><code><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en-US"</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
...
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre><h4 id="the-title-attribute">The title Attribute</h4>
<p>The title attribute defines some extra information about an element.</p>
<p>The value of the title attribute will be displayed as a tooltip when you mouse over the element:</p>
<h5 id="example">Example</h5>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"I'm a tooltip"</span>&gt;</span>This is a paragraph.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>]]></content:encoded></item><item><title><![CDATA[JavaScript mouse events]]></title><description><![CDATA[Mouse Events
Any change in the state of an object is referred to as an Event. With the help of JS, you can handle events, i.e., how any specific HTML tag will work when the user does something.
● click
Fired when an element is clicked
element.addEven...]]></description><link>https://dhirajkhadka.com.np/javascript-mouse-events</link><guid isPermaLink="true">https://dhirajkhadka.com.np/javascript-mouse-events</guid><category><![CDATA[JavaScript]]></category><category><![CDATA[Programming Blogs]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Wed, 28 Jul 2021 15:22:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1627481539975/Fctr8Zbe3.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="mouse-events">Mouse Events</h2>
<p>Any change in the state of an object is referred to as an Event. With the help of JS, you can handle events, i.e., how any specific HTML tag will work when the user does something.</p>
<h4 id="click">● click</h4>
<p>Fired when an element is clicked</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'click'</span>, ()=&gt;{
<span class="hljs-comment">//Code to be executed.. </span>
});
</code></pre><h4 id="oncontextmenu">● oncontextmenu</h4>
<p>Fired when an element is right-clicked</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'contextmenu'</span>, ()=&gt;{
<span class="hljs-comment">// Code to be executed..</span>
});
</code></pre><h4 id="dblclick">● dblclick</h4>
<p>Fired when an element is double-clicked</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'dblclick'</span>, ()=&gt;{
<span class="hljs-comment">/*Code to be executed..*/</span>
});
</code></pre><h4 id="mouseenter">● mouseenter</h4>
<p>Fired when an element is entered by the mouse arrow</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'mouseenter'</span>, ()=&gt;{
<span class="hljs-comment">/*Code to be executed*/</span>
});
</code></pre><h4 id="mouseleave">● mouseleave</h4>
<p>Fired when an element is exited by the mouse arrow</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'mouseleave'</span>, ()=&gt;{
<span class="hljs-comment">/* Code to be executed when  the event is fired*/</span>
});
</code></pre><h4 id="mousemove">● mousemove</h4>
<p>Fired when the mouse is moved inside the element</p>
<pre><code><span class="hljs-selector-tag">element</span><span class="hljs-selector-class">.addEventListener</span>(<span class="hljs-string">'mousemove'</span>, ()=&gt;{
<span class="hljs-comment">/*Code to be executed when the event is fired*/</span>
});
</code></pre>]]></content:encoded></item><item><title><![CDATA[Are you a beginner? Let get started.]]></title><description><![CDATA[HTML is the standard markup language for creating Web pages.
What is HTML?

HTML stands for Hyper Text Markup Language

HTML is the standard markup language for creating Web pages

HTML describes the structure of a Web page

HTML consists of a series...]]></description><link>https://dhirajkhadka.com.np/are-you-a-beginner-let-get-started</link><guid isPermaLink="true">https://dhirajkhadka.com.np/are-you-a-beginner-let-get-started</guid><category><![CDATA[HTML5]]></category><category><![CDATA[HTML]]></category><category><![CDATA[Beginner Developers]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Sun, 18 Jul 2021 17:00:31 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1626633933654/z5Lgymqvb.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>HTML is the standard markup language for creating Web pages.</p>
<h2>What is HTML?</h2>

<p>HTML stands for Hyper Text Markup Language</p>
<ol>
<li><p>HTML is the standard markup language for creating Web pages</p>
</li>
<li><p>HTML describes the structure of a Web page</p>
</li>
<li><p>HTML consists of a series of elements</p>
</li>
<li><p>HTML elements tell the browser how to display the content</p>
</li>
<li><p>HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
</p><h4>
A Simple HTML Document</h4>
Example<p></p>
</li>
</ol>
<pre><code>    <span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Homepage<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
      <span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">h1</span>&gt;</span>Heading one<span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>Hello, my name is 
        dhirajkhadka<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
       <span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
      <span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre><p></p><h4>Example Explained</h4>
The <code>&lt;!DOCTYPE html&gt;</code> declaration defines that this document is an HTML5 document.<p></p>
<p>The  <code>&lt;html&gt;</code> element is the root element of an HTML page.</p>
<p>The <code>&lt;head&gt;</code>element contains meta information about the HTML page.</p>
<p>The <code>&lt;title&gt;</code> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab).</p>
<p>The<code>&lt;body&gt;</code> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.</p>
<p>The<code>&lt;h1&gt;</code> element defines a large heading.</p>
<p>The <code>&lt;p&gt;</code> element defines a paragraph.</p>
<p></p><h4>What is an HTML Element?</h4>
An HTML element is defined by a start tag, some content, and an end tag:<p></p>
<p><code>&lt;tagname&gt;Content goes here...&lt;/tagname&gt;</code></p>
<p>The HTML element is everything from the start tag to the end tag:</p>
<p></p><h4>Thanks for reading 🤝🤝</h4>
I would ❤ to connect with you at  <a target="_blank" href="https://www.twitter.com/Dhi_Raj14">Twitter</a> <a target="_blank" href="https://www.github.com/dhirajkhadka/">Github</a> let me know in the comment section if you have any doubts or feedback.<p></p>
]]></content:encoded></item><item><title><![CDATA[Register your domain name for free in nepal.]]></title><description><![CDATA[Do you want to register domain in Nepal for free? 
Check the steps below, 
And visit this link later(register.com.np) 

Open any of your browser, and search there "https://register.com.np".
  2. Enter your required domain name in the search bar as ab...]]></description><link>https://dhirajkhadka.com.np/register-your-domain-name-for-free-in-nepal</link><guid isPermaLink="true">https://dhirajkhadka.com.np/register-your-domain-name-for-free-in-nepal</guid><category><![CDATA[domain]]></category><category><![CDATA[Hashnode]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Fri, 16 Jul 2021 12:02:15 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1626436827584/33oA3wo2q.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Do you want to register domain in Nepal for free? </p>
<p>Check the steps below, 
And visit this link later(register.com.np) </p>
<ol>
<li><p>Open any of your browser, and search there "https://register.com.np".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501670910/cxcbvM0nc.jpeg" alt="1590572628625070-0.jpg" />  2. Enter your required domain name in the search bar as above and click on search.</p>
</li>
</ol>
<p>3
. A popup window appears on your screen and congrats you if the domain you enter is available.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501717986/M_n-_PYNj.jpeg" alt="1590572623776018-1.jpg" />4. After that , click in register now button in that table above given. It will redirect you to the account creator page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501730710/Rxq2j_Dmo.jpeg" alt="1590572619203019-2.jpg" />5. Fill up the above form correctly and click on create account .6. Here success message appear on your screen. For activating your account check your email.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501745986/uneVegt2Z.jpeg" alt="1590572615944235-3.jpg" />7. Check your email and click on the verify button </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501857550/NzpMdiHia.jpeg" alt="1590572608793545-4.jpg" />8. Now, after clicking on the verify button, you will redirect to the sign in page of "register.com.np".
 Now, sign in your account which was created     just  a minute ago.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501787345/ubCgyorI3.jpeg" alt="1590572604090137-5.jpg" />9. After sign in process , it will show you the domain request form. Fill up that carefully &amp; correctly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1626501797946/wvqnr7Pas.jpeg" alt="1590572597143210-6.jpg" /></p>
<p>Note : for registering free domain at "register.com.np, It requires some of documents for proof. Such as nepali citizenship or driving license and  Cover letter.</p>
<p></p><h3> You might like this</h3>
  <a target="_blank" href="https://blg.hashnode.dev/need-coding-practice-i-recommend-hackerrank">What is hackerRank platform?</a> <p></p>
]]></content:encoded></item><item><title><![CDATA[Need Coding Practice? I recommend Hackerrank]]></title><description><![CDATA[Coding is hard and its difficult to find sufficient practice. For whoever came across this post, I recommend Hackerrank: hackerrank.com
Hackerrank is a free website that has several coding practice problems in many different programming languages. So...]]></description><link>https://dhirajkhadka.com.np/need-coding-practice-i-recommend-hackerrank</link><guid isPermaLink="true">https://dhirajkhadka.com.np/need-coding-practice-i-recommend-hackerrank</guid><category><![CDATA[hacking]]></category><category><![CDATA[Hashnode]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[@platform]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Fri, 16 Jul 2021 10:32:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1626431343315/KVBeQNLNi.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Coding is hard and its difficult to find sufficient practice. For whoever came across this post, I recommend Hackerrank: hackerrank.com</p>
<p>Hackerrank is a free website that has several coding practice problems in many different programming languages. Solving their practice problems will enforce the topics you learned to become a better coder. I wanted to thank the Hackerrank developers for making this website and a resource I can use to improve myself. Thank you!</p>
]]></content:encoded></item><item><title><![CDATA[Coding is possible from mobile?  Spck editor features.]]></title><description><![CDATA[spck editor lets you write code whenever, wherever. Quickly change code snippets, preview them, and plan to any git repository all with this small (but powerful) javascript ide. 
There's no more got to compromise when developing on your mobile androi...]]></description><link>https://dhirajkhadka.com.np/coding-is-possible-from-mobile-spck-editor-features</link><guid isPermaLink="true">https://dhirajkhadka.com.np/coding-is-possible-from-mobile-spck-editor-features</guid><category><![CDATA[Mobile Development]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[coding]]></category><category><![CDATA[CSS]]></category><category><![CDATA[HTML5]]></category><dc:creator><![CDATA[Dhiraj Khadka]]></dc:creator><pubDate>Thu, 15 Jul 2021 18:30:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1626441729755/191IW0Pmt.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>spck editor lets you write code whenever, wherever. Quickly change code snippets, preview them, and plan to any git repository all with this small (but powerful) javascript ide. </p>
<p>There's no more got to compromise when developing on your mobile android device. You can clone from github/gitlab/bitbucket, aws codecommit, azure devops, or more, make commits and push them from your phone.</p>
<p><i>Back up your projects before uninstalling the app, otherwise you'll likely lose the data! Upgrading/updating the app should be okay.</i></p>
<p></p><h3>features include:</h3><p></p>
<ol>
<li><p>clone your public or private
repositories.</p>
</li>
<li><p>Quick snippets keyboard for faster code edits</p>
</li>
<li>git client integration (checkout/pull/push/commit/log)</li>
<li>diff viewer for git-enabled projects
preview webpages on your device</li>
<li>cool javascript labs to play.</li>
<li>code syntax analysis and smart auto-completer</li>
<li>code completion and context provider (signature/definition lookup)</li>
<li>Auto code-indentation (using js-beautify).</li>
<li>light/dark themes available.</li>
<li>Export/import project/files to zip file.</li>
</ol>
<p><i> spck editor can run offline too, and new features added css color selector</i></p>
<p></p><h3>main languages supported:</h3>
◆ HTML<p></p>
<p>◆ CSS</p>
<p>◆ JAVASCRIPT</p>
<p></p><h3>Smart code-hinting support:</h3>
typescript, javascript, tsx, jsx
css, less, scss,
Html (with emmet support)<p></p>
<p></p><h3>Other popular languages </h3> <h4>(syntax highlighting only):</h4>
Python, ruby, r, perl, julia, scala
java, scala, kotlin
ocaml,
PHP
Golang, rust, C, c#
stylus, Coffeescript, pug
markdown, batch, bash
Actionscript, Coldfusion, haxe<p></p>
]]></content:encoded></item></channel></rss>