<?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[Rahul blog]]></title><description><![CDATA[Rahul blog]]></description><link>https://rahul301200.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 02:41:51 GMT</lastBuildDate><atom:link href="https://rahul301200.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[ER-Diagram]]></title><description><![CDATA[As we know that in DBMS ER-Diagram is one of the most important topic. Which we must have to know because when we create a database of any particular things like university, bank , railway and so on. With the help of ER-Diagram we can easily able to ...]]></description><link>https://rahul301200.hashnode.dev/er-diagram</link><guid isPermaLink="true">https://rahul301200.hashnode.dev/er-diagram</guid><category><![CDATA[#SQLtutorial ]]></category><dc:creator><![CDATA[Rahul yadav]]></dc:creator><pubDate>Fri, 01 Mar 2024 02:27:08 GMT</pubDate><content:encoded><![CDATA[<p>As we know that in DBMS ER-Diagram is one of the most important topic. Which we must have to know because when we create a database of any particular things like university, bank , railway and so on. With the help of ER-Diagram we can easily able to create the database of any things.</p>
<p>In other words we can said that ER-Diagram is the blue print of Database.</p>
<p>ER-Diagram is the graphical representation of Data. <mark>ER-Diagram</mark> stands for <mark>Entity-Relationship</mark> Diagram.</p>
<p>Entity - Entity means any thing which are exist in the real world is known as entity. eg --&gt; book, pen, chair, laptop, etc.</p>
<p>In SQL there are two type of entity</p>
<ol>
<li><p>Physical entity</p>
</li>
<li><p>Conceptual entity</p>
</li>
</ol>
<p>Physical entity - Physical entity are those entity which physically exist in the real world is know as physical entity. It is also known as <strong>Tangible entity</strong>.</p>
<p>Conceptual entity - Conceptual entity are those entity which doesn't exist physically in the real world is known as conceptual entity. It is also known as <strong>Intangible entity</strong>.</p>
<p>In DBMS <strong>both entities</strong> are represented by <strong>Rectangle</strong>.</p>
<p>Attribute - Every entities describe the property and that property is known as attribute.</p>
<p>In SQL there are six types of attributes.</p>
<ol>
<li><p>Simple attribute.</p>
</li>
<li><p>Composite attribute.</p>
</li>
<li><p>Single-valued attribute.</p>
</li>
<li><p>Multi-valued attribute.</p>
</li>
<li><p>Key attribute.</p>
</li>
<li><p>Derived attribute.</p>
</li>
</ol>
<p><mark>Simple attribute</mark> - An attribute which are not divided further is know as Simple attribute. eg --&gt; Id, age , email and so on.</p>
<p><mark>Composite attribute </mark> - An attribute which can be further divided is known as Composite attribute. eg --&gt; name , address , DOB and so on.</p>
<p><mark>Single-valued attribute </mark> - An attribute which contain single value is known as Single-valued attribute. ex --&gt; age , id etc.</p>
<p>Single-valued attribute represented by <strong>ellipse.</strong></p>
<p><mark>Multi-valued attribute</mark> - An attribute which contain multiple values is known as multi-valued attribute. ex --&gt; name, email, etc.</p>
<p>Multi-valued attribute is represented by <strong>double ellipse.</strong></p>
<p><mark>Derived attribute</mark> - Any attribute which derived from other attribute is known as Derived attribute. It is represented by dotted/ellipse.</p>
<p>eg --&gt; Age attribute can be derived from DOB attribute so, here we can said that age attribute is an derived attribute.</p>
<p><mark>Key attribute</mark> - Key attribute are those attribute which can be uniquely identified. It is represented by <strong>Underline</strong>.</p>
<p>eg --&gt; In a company multiple employee work to identify the employee company gives employee id to each employee that must be unique.</p>
<p>As we know that there are many attributes present in SQL and we also know about the meaning of entity and it's types.</p>
<p>Know we know about the meaning of Relationship and it's types in SQL.</p>
<p><mark>Relationship</mark> - Association among two entities are known as "<strong>Relationship</strong>".</p>
<p>In SQL there are four types of relationship.</p>
<ol>
<li><p>One to one relationship.</p>
</li>
<li><p>One to Many relationship.</p>
</li>
<li><p>Many to one relationship.</p>
</li>
<li><p>Many to Many relationship.</p>
</li>
</ol>
<p><mark>One to one relationship</mark> - Department and HOD entities have one to one relationship i.e. for one department we will have only one HOD.</p>
<p><mark>One to Many relationship</mark> - Company and Employee have one to many relationship i.e. in one company many employee work.</p>
<p><mark>Many to One relationship</mark> - Employee and Company have many to one relationship i.e. Many employee can work under one company.</p>
<p><mark>Many to Many relationship </mark> - Product and Customer entities contains many to many relationship, we need to identify the many to many relationship by check in both the directions i.e., we need to get one to many relationship in each direction like one product can be purchased by multiple customers and one customer can purchase multiple products hence we can conclude that product and customer has many to many relationship.</p>
]]></content:encoded></item><item><title><![CDATA[Beginning of Html]]></title><description><![CDATA[In this article, we learn about HTML. This article is for beginners or intermediate students and in this article. we cover about introduction part of HTML, tags and elements.
HTML stands for Hyper Text Markup Language. It is a standard markup languag...]]></description><link>https://rahul301200.hashnode.dev/beginning-of-html</link><guid isPermaLink="true">https://rahul301200.hashnode.dev/beginning-of-html</guid><category><![CDATA[HTML tags ]]></category><category><![CDATA[HTML5]]></category><category><![CDATA[html course]]></category><dc:creator><![CDATA[Rahul yadav]]></dc:creator><pubDate>Sat, 25 Mar 2023 13:04:09 GMT</pubDate><content:encoded><![CDATA[<p>In this article, we learn about HTML. This article is for beginners or intermediate students and in this article. we cover about introduction part of HTML, tags and elements.</p>
<p>HTML stands for <mark>Hyper Text Markup Language</mark>. It is a standard markup language for creating web pages and web applications. It is the foundation of the <mark>Worl Wide Web</mark> and is used to describe the structure of the content in documents, such as heading &lt;h1&gt;, paragraph&lt;p&gt;&lt;/p&gt;, list and other show items.</p>
<p>In HTML <mark>tags, elements and attributes</mark> are very important things. With the help of these, we can make HTML pages. Don't worry we know these things one by one. First, we know about tags then elements and then attributes.</p>
<h3 id="heading-what-are-tags-in-html"><strong>What are tags in HTML?</strong></h3>
<p>Html tags are like keywords that determine how <mark>web browsers</mark> display the <mark>content</mark> on the screen. Paragraph tag &lt;p&gt;&lt;/p&gt;, and heading tag&lt;h1&gt;&lt;h1&gt; are examples of HTML tags. There are so many tags present in the HTML so, we know one by one tag later.HTML tags contain three main parts: an opening tag, content and a closing tag. But some HTML tags are unclosed.</p>
<p>Some points to remember about tags are as follows --&gt;</p>
<ul>
<li><p>All HTML tags must be enclosed within &lt; &gt; these brackets.</p>
</li>
<li><p>Every tag in HTML performs different tasks.</p>
</li>
<li><p>If you have used an open tag &lt;tag&gt;, then you must use a close tag &lt;/tag&gt; (except some tags)</p>
</li>
</ul>
<h2 id="heading-syntax">Syntax</h2>
<p>&lt;tag&gt; content &lt;/tag&gt;</p>
<p><mark>Note- HTML tags are always written in lowercase letters.</mark></p>
<h3 id="heading-html-tags-examples">HTML tags examples.</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1679747419119/df51304a-71c4-4376-809e-619c4faff768.png" alt /></p>
<h3 id="heading-what-are-html-elements">What are HTML elements?</h3>
<p>An HTML file is made of elements. These elements are responsible for creating web pages and defines content in that webpage. An element in HTML usually consists of a <strong><mark>start tag</mark></strong> &lt;tag name&gt;, <strong><mark>close tag</mark></strong> &lt;/tag name&gt; and <strong><mark>content</mark></strong> inserted between them. <strong><mark>Technically, an element is a collection of start tag, attributes, end tag, content between them</mark></strong><mark>.</mark></p>
<p><mark>Note- </mark> <strong><mark>Some elements does not have end tag and content, these elements are termed as empty elements or self-closing element or void elements.</mark></strong></p>
<h3 id="heading-what-are-html-attributes"><strong>What are HTML Attributes?</strong></h3>
<ul>
<li><p>HTML attributes are special words which provide additional information about the elements or attributes are the modifier of the HTML element.</p>
</li>
<li><p>Each element or tag can have attributes, which defines the behaviour of that element.</p>
</li>
<li><p>Attributes should always be applied with start tag.</p>
</li>
<li><p>The Attribute should always be applied with its name and value pair.</p>
</li>
<li><p>The Attributes name and values are case sensitive, and it is recommended by W3C that it should be written in Lowercase only.</p>
</li>
<li><p>You can add multiple attributes in one HTML element, but need to give space between two attributes.</p>
</li>
</ul>
<h3 id="heading-syntax-1"><strong>Syntax</strong></h3>
<p><strong>&lt;element</strong> attribute_name="value"<strong>\&gt;</strong>content<strong>&lt;/element&gt;</strong> </p>
<h3 id="heading-example">Example</h3>
<ol>
<li><p>&lt;!DOCTYPE html<strong>\&gt;</strong>  </p>
</li>
<li><p><strong>&lt;html&gt;</strong>  </p>
</li>
<li><p><strong>&lt;head&gt;</strong>  </p>
</li>
<li><p><strong>&lt;/head&gt;</strong>  </p>
</li>
<li><p><strong>&lt;body&gt;</strong>  </p>
</li>
<li><p><strong>&lt;h1&gt;</strong> This is Style attribute<strong>&lt;/h1&gt;</strong>  </p>
</li>
<li><p><strong>&lt;p</strong> style="height: 50px; color: blue"<strong>\&gt;</strong>It will add style property in element<strong>&lt;/p&gt;</strong>  </p>
</li>
<li><p><strong>&lt;p</strong> style="color: red"<strong>\&gt;</strong>It will change the color of content<strong>&lt;/p&gt;</strong>  </p>
</li>
<li><p><strong>&lt;/body&gt;</strong>  </p>
</li>
<li><p><strong>&lt;/html&gt;</strong>  </p>
</li>
</ol>
<h3 id="heading-output">output:</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1679748635276/75e8e12b-6806-4a91-b6f3-1459fb0d48e0.png" alt /></p>
<ol>
<li><p><strong><mark>&lt;p</mark></strong> <mark> style="height: 50px; color: blue"</mark><strong><mark>&gt;</mark></strong><mark>It will add style property in element</mark><strong><mark>&lt;/p&gt;</mark></strong> In the above statement, we have used paragraph tags in which we have applied style attribute. This attribute is used for applying CSS property on any HTML element. It provides height to paragraph element of 50px and turns it colour to blue.</p>
</li>
<li><p><strong><mark>&lt;p</mark></strong> <mark> style="color: red"</mark><strong><mark>&gt;</mark></strong><mark>It will change the color of content</mark><strong><mark>&lt;/p&gt;</mark></strong>  </p>
</li>
</ol>
<p>In the above statement we have again used style attribute in paragraph tag, which turns its colour red.</p>
<p>In next article we know about different type of an HTML tags.</p>
]]></content:encoded></item></channel></rss>