<?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>DEV Community: theindiancodinggirl </title>
    <description>The latest articles on DEV Community by theindiancodinggirl  (@theindiancodinggrl).</description>
    <link>https://dev.to/theindiancodinggrl</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%2F318662%2Fe62ea124-04ae-4b92-a989-8c3d6eb674a1.jpg</url>
      <title>DEV Community: theindiancodinggirl </title>
      <link>https://dev.to/theindiancodinggrl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theindiancodinggrl"/>
    <language>en</language>
    <item>
      <title>20 Days of HTML(Learn 20 amazing things about HTML) Part 2</title>
      <dc:creator>theindiancodinggirl </dc:creator>
      <pubDate>Fri, 06 Mar 2020 13:29:01 +0000</pubDate>
      <link>https://dev.to/theindiancodinggrl/20-days-of-html-learn-20-amazing-things-about-html-part-2-n6n</link>
      <guid>https://dev.to/theindiancodinggrl/20-days-of-html-learn-20-amazing-things-about-html-part-2-n6n</guid>
      <description>&lt;h1&gt;
  
  
  &lt;b&gt; Day 11- Drag and Drop
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;Any HTML element can be dragged and dropped irrespective of its native behavior.⁣&lt;br&gt;
⁣It is done by using the global attribute &lt;em&gt;draggable&lt;/em&gt; i.e setting its value to true.⁣&lt;br&gt;
⁣&lt;br&gt;
Events like ondragstart, ondragover, etc. are used to make elements more functional.⁣&lt;br&gt;
⁣Images and links are by default draggable.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;draggable=&lt;/span&gt;&lt;span class="s"&gt;"true"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Drag and Drop me on the other side!
&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/ed5vzhjg/5/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 12- Progress and Meter Elements
&lt;/b&gt;
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;progress&amp;gt;&lt;/code&gt; element:

&lt;ul&gt;
&lt;li&gt;Displays a progress bar showing the completion progress of a task.⁣⁣&lt;/li&gt;
&lt;li&gt;It has two attributes max and value.⁣⁣&lt;/li&gt;
&lt;li&gt;No min attribute, the minimum value is always 0.⁣⁣
⁣⁣&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;&amp;lt;meter&amp;gt;&lt;/code&gt; element:

&lt;ul&gt;
&lt;li&gt;Displays either a  fractional value or a value within a range.⁣⁣&lt;/li&gt;
&lt;li&gt;It is not only to show the progress(high), it can also fluctuate(high or    low).⁣⁣&lt;/li&gt;
&lt;li&gt;Has the following attributes: max, min, high, low, optimum.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"download"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Download Progress&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;progress&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"download"&lt;/span&gt; &lt;span class="na"&gt;max=&lt;/span&gt;&lt;span class="s"&gt;"100"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"50"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/progress&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;br&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"temp"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Temperature Meter:&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;meter&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"temp"&lt;/span&gt; &lt;span class="na"&gt;min=&lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt; &lt;span class="na"&gt;max=&lt;/span&gt;&lt;span class="s"&gt;"100"&lt;/span&gt; &lt;span class="na"&gt;low=&lt;/span&gt;&lt;span class="s"&gt;"30"&lt;/span&gt; &lt;span class="na"&gt;high=&lt;/span&gt;&lt;span class="s"&gt;"60"&lt;/span&gt; &lt;span class="na"&gt;optimum=&lt;/span&gt;&lt;span class="s"&gt;"80"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"10"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/meter&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/e5hgnw4s/4/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 13- Play some Music
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣&lt;code&gt;&amp;lt;audio&amp;gt;&lt;/code&gt; element provides a way to add audio resources to a web page without the need to use any other plugin.⁣&lt;br&gt;
Just include a path to the media inside the src attribute.⁣&lt;br&gt;
⁣&lt;br&gt;
A fallback text is enclosed within the tag to be shown to browsers that don't support the element.⁣&lt;br&gt;
⁣&lt;br&gt;
By default, the browser does not show any controls. ⁣&lt;br&gt;
To add the ability for users to play, pause, adjust volume, etc. 'controls' attribute can be used.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;audio&lt;/span&gt; &lt;span class="na"&gt;controls&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"dope_music.mp3"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Your browser does not support the audio element.
&lt;span class="nt"&gt;&amp;lt;/audio&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/afb7zL8e/2/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 14- Show Insertion and Deletion
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;ins&amp;gt;&lt;/code&gt; element indicates text that has been added to the document.⁣⁣&lt;br&gt;
&lt;code&gt;&amp;lt;del&amp;gt;&lt;/code&gt; is used for the text that has been deleted from the document.⁣⁣&lt;/p&gt;

&lt;p&gt;So far, both of these have accessibility concerns which can be overcome by using, before and after pseudo-elements with the CSS content property.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;Go to a
  &lt;span class="nt"&gt;&amp;lt;del&amp;gt;&lt;/span&gt;movie&lt;span class="nt"&gt;&amp;lt;/del&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;ins&amp;gt;&lt;/span&gt;conference&lt;span class="nt"&gt;&amp;lt;/ins&amp;gt;&lt;/span&gt;
  this weekend.
&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/Lbqe21az/9/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 15- Word Break Opportunity
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣When a word is too long, and you don't want the browser to break it at the random place, &lt;code&gt;&amp;lt;wbr&amp;gt;&lt;/code&gt; helps to break the word where you want.⁣&lt;br&gt;
⁣&lt;br&gt;
The &lt;code&gt;&amp;lt;wbr&amp;gt;&lt;/code&gt; element specifies a position within text where it would be appropriate to add a line-break.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;This is a lonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnngggggggggggggggggggggggggggggggggggggggggg&lt;span class="nt"&gt;&amp;lt;wbr&amp;gt;&lt;/span&gt;word.&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/1n9mgtp0/2/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 16- Best Practices
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;A great place to find the HTML best practices to write maintainable and scalable code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/hail2u/html-best-practices"&gt;HTML best practices&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 17- Adding Color picker and Date picker into the forms
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; element with the attribute of type="color" provides an interface of color picker or the user can also enter the color in hexadecimal format.⁣&lt;br&gt;
⁣&lt;br&gt;
&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; element with the attribute of type="date" creates a date picker or lets the user enter a date.⁣&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;Choose Color:
&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"color"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"#ffffff"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/2yrzhLkq/2/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 18- Setting Shortcut Keys
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣The &lt;em&gt;accesskey&lt;/em&gt; is a global attribute that specifies a shortcut key to activate an element.⁣&lt;br&gt;
⁣&lt;br&gt;
Shortcut keys can be accessed in number of ways according to the browser such as:⁣&lt;br&gt;
&lt;code&gt;ctrl + alt +  accesskey⁣&lt;/code&gt;&lt;br&gt;
OR⁣&lt;br&gt;
&lt;code&gt;alt + accesskey&lt;/code&gt;&lt;br&gt;
OR⁣&lt;br&gt;
&lt;code&gt;alt + shift + accesskey&lt;/code&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  &lt;b&gt; Day 19- Make Input fields readonly
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣The &lt;code&gt;readonly&lt;/code&gt; attribute prevents the editing on an input field by the user i.e. it makes the elements immutable.⁣&lt;br&gt;
⁣&lt;br&gt;
These readonly elements can be styled by :read-only and :read-write pseudo classes.⁣&lt;br&gt;
⁣&lt;br&gt;
It is different from the disabled attribute as the elements with readonly attribute are focusable whereas this isn't the case with the disabled.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"country"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Country:
&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"country"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"India"&lt;/span&gt; &lt;span class="na"&gt;readonly&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/xfwk8mpc//embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 20- Ways to improve Accessibility
&lt;/b&gt;
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Use semantic elements.⁣
⁣&lt;/li&gt;
&lt;li&gt;A label should be associated with every form control.⁣
⁣&lt;/li&gt;
&lt;li&gt;Alternative text should be included for images.⁣
⁣&lt;/li&gt;
&lt;li&gt;Use tabindex="0" to add an element that does not normally receive focus, such as &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;span&amp;gt;&lt;/code&gt;.⁣
⁣&lt;/li&gt;
&lt;li&gt;Use ARIA roles and attributes to provide additional meaning.For example, role="search" for search functionality.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Thanks for reading ❤&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/indiancodinggrl"&gt;Twitter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.instagram.com/theindiancodinggirl"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>20 Days of HTML(Learn 20 amazing things about HTML) Part 1</title>
      <dc:creator>theindiancodinggirl </dc:creator>
      <pubDate>Fri, 06 Mar 2020 13:25:02 +0000</pubDate>
      <link>https://dev.to/theindiancodinggrl/20-days-of-html-learn-20-amazing-things-about-html-part-1-2p99</link>
      <guid>https://dev.to/theindiancodinggrl/20-days-of-html-learn-20-amazing-things-about-html-part-1-2p99</guid>
      <description>&lt;h1&gt;
  
  
  &lt;b&gt; Day 1- Divide webpage into logical sections
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣HTML5 offers several elements that will help you organize your layout in appropriate sections:⁣⁣&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Header &lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Navigation bar &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Main Content &lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt; with &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; ⁣⁣&lt;/li&gt;
&lt;li&gt;Sidebar &lt;code&gt;&amp;lt;aside&amp;gt;&lt;/code&gt;⁣⁣&lt;/li&gt;
&lt;li&gt;Footer &lt;code&gt;&amp;lt;footer&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;⁣⁣Good Webpages may look or perform differently but they share similar standard structure.⁣⁣&lt;br&gt;
⁣⁣&lt;br&gt;
By using this standard structure with the semantic elements mentioned above your document becomes more readable and accessible.⁣⁣&lt;/p&gt;
&lt;h1&gt;
  
  
  &lt;b&gt; Day 2- What are the Semantic elements? Why are they important?
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;Rather than writing vague divs in your document.&lt;br&gt;
How about using semantic tags?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Semantic tags&lt;/em&gt; define the purpose of the element. It's beneficial to use tags, class names and ids that give meaning to your content rather than just define its looks. Presentation is the responsibility of CSS.&lt;/p&gt;

&lt;p&gt;For example- &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt;,&lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt;,&lt;code&gt;&amp;lt;figure&amp;gt;&lt;/code&gt; tells the content wrapped around them are paragraph, header or image. They help the browser, as well as developers, understand the meaning of their content.&lt;/p&gt;

&lt;p&gt;Why is Semantic HTML important?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Helps to write clean and maintainable code&lt;/li&gt;
&lt;li&gt;Enhances Accessibility&lt;/li&gt;
&lt;li&gt;Improves SEO&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  &lt;b&gt; Day 3- Make any content on your page editable by users
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;The text of the webpage can be made editable using the &lt;em&gt;contenteditable&lt;/em&gt; attribute.&lt;/p&gt;

&lt;p&gt;Just set the &lt;em&gt;contenteditable&lt;/em&gt; to true on any of the elements you want to make editable. &lt;br&gt;
It can be helpful in the making of a simple text editor.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;contenteditable=&lt;/span&gt;&lt;span class="s"&gt;"true"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Edit me!
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/be9hrLqs/1/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 4- Implement a Download button with HTML5
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;Usually, when the user clicks on a link to media files, it will be opened in the browser. &lt;br&gt;
If you want to give users the option to save that file on their computer, download attribute can be used.&lt;/p&gt;

&lt;p&gt;The download attribute to &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements makes the linked URL a download link rather than a navigational. Meaning users can save the link rather than navigating to it.&lt;/p&gt;

&lt;p&gt;The download attribute can be used with or without value. To rename the default name, a value can be given which becomes the name of the file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"this-is-the-download-link.pdf"&lt;/span&gt; &lt;span class="na"&gt;download=&lt;/span&gt;&lt;span class="s"&gt;"Download.pdf"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Download me
&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/Lrjeh7aq/1/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 5- Define options with datalist tag
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣The Html5 &lt;code&gt;&amp;lt;datalist&amp;gt;&lt;/code&gt; tag is used to provide autocomplete feature in the input field of the form.⁣&lt;br&gt;
⁣&lt;br&gt;
It specifies the set of predefined options for the user to input.⁣&lt;br&gt;
⁣&lt;br&gt;
To bind it to the input, it is usually used with the &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; element's &lt;em&gt;list&lt;/em&gt; attribute whose value matches the datalist id.⁣&lt;br&gt;
⁣It works with all types of inputs like data, range, color etc.⁣&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;list=&lt;/span&gt;&lt;span class="s"&gt;"languages"&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"Choose language"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;datalist&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"languages"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;option&amp;gt;&lt;/span&gt;Python&lt;span class="nt"&gt;&amp;lt;/option&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;option&amp;gt;&lt;/span&gt;Javascript&lt;span class="nt"&gt;&amp;lt;/option&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;option&amp;gt;&lt;/span&gt;Java&lt;span class="nt"&gt;&amp;lt;/option&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/datalist&amp;gt;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/7kno6Let/1//embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 6- Collapsible Sections with HTML5⁣
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;⁣Details&lt;/em&gt; tag is used to make collapsible sections when it is required to provide extra information about a subject that users can hide or view by their choice.&lt;br&gt;
⁣&lt;br&gt;
Used with the summary tag which specifies the title that can be clicked to expand or collapse the details.⁣&lt;/p&gt;

&lt;p&gt;By default, the details are hidden, the open attribute can be used to change the default behavior.⁣&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;details&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt; Javascript &lt;span class="nt"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt; I am an amazing language &lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/details&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/4sgzuvrj//embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 7- Responsive Images with srcset
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣To make an image responsive means to switch between different versions of the image so that they are being displayed according to their respective device sizes and resolutions.⁣&lt;br&gt;
⁣&lt;br&gt;
⁣srcset, an attribute of &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; element is used to give URLs of different versions of the image and a descriptor so that the browser can display the most appropriate one in a given situation.⁣&lt;br&gt;
⁣&lt;br&gt;
Here, descriptor x represents device-pixel-ratio i.e a device with 2x resolution will only display the image associated with 2x in the srcset attribute. ⁣&lt;br&gt;
⁣&lt;br&gt;
The src attribute is present for browsers that don't understand srcset.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;srcset=&lt;/span&gt;&lt;span class="s"&gt;"pizza-small.jpg,
             pizza-medium.jpg 1.5x,
             pizza-large.jpg 2x"&lt;/span&gt;
     &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"pizza-large.jpg"&lt;/span&gt;
     &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"a slice of cheesy pizza"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  &lt;b&gt; Day 8- HTML Periodic Tables
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣There exist periodic tables and cheatsheets for HTML elements. ⁣&lt;br&gt;
⁣A great tool to find all the elements with their descriptions in a single place.⁣&lt;br&gt;
These can be very helpful and handy as who remembers all the tags.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://htmlcheatsheet.com/"&gt;https://htmlcheatsheet.com/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Cheatsheet"&gt;https://developer.mozilla.org/en-US/docs/Learn/HTML/Cheatsheet&lt;/a&gt;&lt;br&gt;
&lt;a href="https://websitesetup.org/html5-periodical-table/"&gt;https://websitesetup.org/html5-periodical-table/&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  &lt;b&gt; Day 9- All about Quotations
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣Quotations are an important part of the content.⁣&lt;br&gt;
There are few elements that can be used according to their semantic meanings to display quotations on your page:&lt;br&gt;
⁣&lt;/p&gt;
&lt;h4&gt;
  
  
  The &lt;code&gt;&amp;lt;blockquote&amp;gt;&lt;/code&gt; element:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Provides a section that defines quotations from another source.⁣&lt;/li&gt;
&lt;li&gt;Used for indicating long quotations.⁣&lt;/li&gt;
&lt;li&gt;Cite attribute is used to provide the URL of the source of the quotation.⁣&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  The &lt;code&gt;&amp;lt;q&amp;gt;&lt;/code&gt; element:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Provides an inline quote in a block of text. ⁣&lt;/li&gt;
&lt;li&gt;Used for indicating short quotations.⁣&lt;/li&gt;
&lt;li&gt;Inserts quotation marks around the enclosed text.⁣&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  The &lt;code&gt;&amp;lt;cite&amp;gt;&lt;/code&gt; element:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Provides the title of the source of work(e.g. book, album, song, poem, essay, etc.)⁣
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;blockquote&amp;gt;&lt;/span&gt;
  The future was uncertain, absolutely, and there were many hurdles, twists, and turns to come, but as long as I kept moving forward, one foot in front of the other, the voices of fear and shame, the messages from those who wanted me to believe that I wasn't good enough, would be stilled.
  ― Chris Gardner,
  &lt;span class="nt"&gt;&amp;lt;cite&amp;gt;&lt;/span&gt;The Pursuit of Happyness&lt;span class="nt"&gt;&amp;lt;/cite&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/blockquote&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;q&amp;gt;&lt;/span&gt;The goal isn't to live forever, the goal is to create something that will.&lt;span class="nt"&gt;&amp;lt;/q&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;
  ― Chuck Palahniuk, &lt;span class="nt"&gt;&amp;lt;cite&amp;gt;&lt;/span&gt;Diary&lt;span class="nt"&gt;&amp;lt;/cite&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/Lkm4615q/2/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;b&gt; Day 10- Highlight it!
&lt;/b&gt;
&lt;/h1&gt;

&lt;p&gt;⁣Ever wanted to have highlighted text on your page?⁣&lt;br&gt;
You can do it with just HTML, use &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; tag to highlight parts of the text which needs extra attention.⁣&lt;br&gt;
⁣&lt;br&gt;
Mostly used with quotations which are from other sources to determine which text is more relevant according to you. ⁣&lt;br&gt;
⁣&lt;br&gt;
Don't use it only for decoration purpose.⁣&lt;br&gt;
⁣&lt;br&gt;
Difference between &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;strong&amp;gt;&lt;/code&gt;-&lt;br&gt;
&lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; denotes relevance of the content, while &lt;code&gt;&amp;lt;strong&amp;gt;&lt;/code&gt; indicates importance.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;q&amp;gt;&lt;/span&gt;The goal isn't to live forever, the goal is to &lt;span class="nt"&gt;&amp;lt;mark&amp;gt;&lt;/span&gt;create something&lt;span class="nt"&gt;&amp;lt;/mark&amp;gt;&lt;/span&gt; that will.
  &lt;span class="nt"&gt;&amp;lt;/q&amp;gt;&amp;lt;br&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  ― Chuck Palahniuk, &lt;span class="nt"&gt;&amp;lt;cite&amp;gt;&lt;/span&gt;Diary&lt;span class="nt"&gt;&amp;lt;/cite&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;iframe src="https://jsfiddle.net/km4444/8sazvup9/1/embedded/result,html//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;p&gt;Thanks for reading ❤&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/indiancodinggrl"&gt;Twitter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.instagram.com/theindiancodinggirl"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
      <category>codenewbie</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
