<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4568204870050515099</id><updated>2024-11-08T07:41:33.490-08:00</updated><category term="Blogging"/><category term="Education"/><category term="HTML"/><category term="Adsense"/><category term="Blog Tips"/><category term="Apps"/><category term="Javascript"/><category term="Technology"/><category term="Widget"/><title type='text'>Top Blog Pk</title><subtitle type='html'>Top Blog Pk Where to Share Tips, Tricks, Search Engine Optimization, Coding, Blogger and Adsense, HTML, CSS, Javascript by discussing in detail.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>BlogPk</name><uri>http://www.blogger.com/profile/14357004977401706324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-36468862162770344</id><published>2020-12-08T04:12:00.015-08:00</published><updated>2020-12-08T04:32:57.112-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Education"/><title type='text'>Consider the following list, if user enters 5 then display “2 times” because “5” occurs 2 times in the list</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if user enters &lt;b&gt;5&lt;/b&gt; then display “&lt;b&gt;2 times&lt;/b&gt;” because “5” occurs 2 times in the list.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaRaQSPh2I6iT2dg9VkYLaKmTgXX6n1_2L6CU8xtd3LwZoMZUyu8Ax2lvEUw6MlWWYlyc-nxX_noJEWgOOJLrSDvP7KwkCNfmCaXfGt2aNnLRleD0jGQGXkRkkv1quzEvjSynvVGhKiRsz/s1820/TopBlog+Pk+Program+Exam.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1024&quot; data-original-width=&quot;1820&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaRaQSPh2I6iT2dg9VkYLaKmTgXX6n1_2L6CU8xtd3LwZoMZUyu8Ax2lvEUw6MlWWYlyc-nxX_noJEWgOOJLrSDvP7KwkCNfmCaXfGt2aNnLRleD0jGQGXkRkkv1quzEvjSynvVGhKiRsz/s320/TopBlog+Pk+Program+Exam.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Given Array&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;b&gt;int&lt;/b&gt; A[] = {&lt;b&gt;5&lt;/b&gt;, 3, 6, 8, &lt;b&gt;5&lt;/b&gt;, 1};&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;b&gt;Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if user enters 5 then display “2 times” because “5” occurs 2 times in the list.&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Solution&lt;/span&gt;&lt;/b&gt; :&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; By using &lt;b&gt;C&lt;/b&gt; Language.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;int BinarySearch(int A[], int N, int x, int searchFirst)&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int low = 0, high = N - 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int result = -1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; while (low &amp;lt;= high)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int mid = (low + high)/2;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (x == A[mid])&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result = mid;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (searchFirst)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; high = mid - 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; low = mid + 1;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (x &amp;lt; A[mid])&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; high = mid - 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; low = mid + 1;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; return result;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;int main(void)&lt;/b&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int A[] = {5, 3, 6, 8, 5, 1};&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int target = 5;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int n = sizeof(A)/sizeof(A[0]);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int first = BinarySearch(A, n, target, 1);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int last = BinarySearch(A, n, target, 0);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; int count = last - first + 1;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; if (first != -1)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Element %d occurs %d times.&quot;, target, count);&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; else&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Element not found in the array.&quot;);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Output :&amp;nbsp;&lt;b&gt;Element 5 occurs 2 times&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question :&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if user enters 5 then display “2 times” because “5” occurs 2 times in the list.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Solution&lt;/b&gt;:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;As above mentioned.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;ATTENTION&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;Please let me know if you have any questions. I hope the above is useful to you.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/36468862162770344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/12/consider-following-list-if-user-enters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/36468862162770344'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/36468862162770344'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/12/consider-following-list-if-user-enters.html' title='Consider the following list, if user enters 5 then display “2 times” because “5” occurs 2 times in the list'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaRaQSPh2I6iT2dg9VkYLaKmTgXX6n1_2L6CU8xtd3LwZoMZUyu8Ax2lvEUw6MlWWYlyc-nxX_noJEWgOOJLrSDvP7KwkCNfmCaXfGt2aNnLRleD0jGQGXkRkkv1quzEvjSynvVGhKiRsz/s72-c/TopBlog+Pk+Program+Exam.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-6530255402574814584</id><published>2020-11-03T23:08:00.005-08:00</published><updated>2020-12-08T04:35:48.126-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogging"/><title type='text'>How to Make a Pricing Section Card / Price box with a Luxury and Attractive Style</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-size: 1em;&quot;&gt;Hi Web Developers! this time the BlogPk&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;
teacher will share a tutorial on how to make a &lt;b&gt;Pricing Section Card / Price box&lt;/b&gt; in a luxurious and attractive style that is simple to look at, not boring for sure.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;0h &lt;b&gt;yeah&lt;/b&gt;, for those of you who want to know&lt;br /&gt;
how to create a profile card page, click here&lt;br /&gt;
Let&#39;s start the tutorial, follow it to the end,&lt;br /&gt;
okay?&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCCo47dToYemnY1_TbG-ANiNOdMbKnTgwssnjrCGI4euECDTYqy-4rLQGamwPI-Ofjg4DDNRrKGGewwvXcHkjz2_IhHFzwfKEBKpoP4IYXjUeKwAm7lCIwamkgsvneXxa5skXeohZnFJtO/s1820/Pricing+Table+By+TopBlog+Pk.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1024&quot; data-original-width=&quot;1820&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCCo47dToYemnY1_TbG-ANiNOdMbKnTgwssnjrCGI4euECDTYqy-4rLQGamwPI-Ofjg4DDNRrKGGewwvXcHkjz2_IhHFzwfKEBKpoP4IYXjUeKwAm7lCIwamkgsvneXxa5skXeohZnFJtO/s320/Pricing+Table+By+TopBlog+Pk.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;
&lt;p dir=&quot;ltr&quot;&gt;first prepare your computer or your&lt;br /&gt;
smartphone and don&#39;t forget a cup of warm&lt;br /&gt;
coffee water to accompany you coding later&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;if the ingredients are ready, we will continue to the tutorial:&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Please open your &lt;b&gt;worksheet&lt;/b&gt;, add the&lt;br /&gt;
following code in your worksheet.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;🔥 HTML&lt;/b&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Please add the following &lt;b&gt;HTML&lt;/b&gt; code:&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;You can adjust the content yourself.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;pre style=&quot;background: linear-gradient(to left, rgb(51, 121, 234), rgb(0, 255, 242)) rgb(255, 255, 255); border-left: 3px solid rgb(0, 69, 137); box-sizing: border-box; color: #004589; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 16px; line-height: 1.4em; margin-left: -10px; margin-right: -10px; max-width: calc(100% + 20px); overflow: auto; padding: 8px 10px; user-select: all; white-space: initial; word-break: normal;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;div class=&quot;pricing-section&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;div class=&quot;pricing-container&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-column&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-title&quot;&amp;gt;Basic&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-tag&quot;&amp;gt;Discount 20%&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-price&quot;&amp;gt;Pkr 80.000&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;service-info&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Documentation&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Premium Template&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;1 License&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Full Optimization&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;1 Month Full Support&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Easy Customize&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;-&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a class=&quot;pricing-order-btn&quot; href=&quot;#&quot; title=&quot;#&quot; target=&quot;_blank&quot;&amp;gt;Order Now&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-column&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-title&quot;&amp;gt;Personal&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-tag&quot;&amp;gt;Best Value&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-price&quot;&amp;gt;Pkr 510.000&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;service-info&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Documentation&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Premium Template&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;3 License&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Full Optimization&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;3 Month Full Support&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Easy Customize&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;-&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a class=&quot;pricing-order-btn&quot; href=&quot;#&quot; title=&quot;#&quot; target=&quot;_blank&quot;&amp;gt;Order Now&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&quot;pricing-column&quot;&amp;gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;div class=&quot;pricing-title&quot;&amp;gt;Developer&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;div class=&quot;pricing-tag&quot;&amp;gt;For Business&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;pricing-price&quot;&amp;gt;Pkr 1.000.000&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;service-info&quot;&amp;gt; &amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;li&amp;gt;Documentation&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Premium Template&amp;lt;/li&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;&amp;gt;Unlimited License&amp;lt;/li&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;&amp;gt;Full Optimization&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;6 Month Full Support&amp;lt;/li&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;li&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 1em; white-space: initial;&quot;&gt;Easy Customize&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;li&amp;gt;1 Bonus Template&amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;a class=&quot;pricing-order-btn&quot; href=&quot;#&quot; title=&quot;#&quot; target=&quot;_blank&quot;&amp;gt;Order Now&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt; &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;b&gt;🔥 CSS&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Please add the following &lt;b&gt;css&lt;/b&gt; code:&lt;br /&gt;
You can adjust the color yourself&lt;/p&gt;&lt;pre style=&quot;background: linear-gradient(to left, rgb(51, 121, 234), rgb(0, 255, 242)) rgb(255, 255, 255); border-left: 3px solid rgb(0, 69, 137); box-sizing: border-box; color: #004589; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 16px; line-height: 1.4em; margin-left: -10px; margin-right: -10px; max-width: calc(100% + 20px); overflow: auto; padding: 8px 10px; user-select: all; white-space: initial; word-break: normal;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
/* Pricing Section Card by TopBlog Pk(topblogpk.blogspot.com) */&lt;br /&gt;
.pricing-section{font-family:&#39;Google Sans&#39;,Arial,sans-serif;position:relative;overflow:hidden;display:block;margin:15px 0;line-height:1.7}&lt;br /&gt;
.pricing-section .pricing-title{font-size:1.1rem;margin:1rem 0 0;font-weight:700}&lt;br /&gt;
.pricing-container{display:flex;max-width:1000px;margin:0 auto}&lt;br /&gt;
.pricing-tag{margin:.5rem 0 1rem;font-size:13px;display:inline-block;background:#333;color:#fff;padding:3px 15px;border-radius:20px}&lt;br /&gt;
a.pricing-order-btn{font-size:14px;text-transform:uppercase;text-decoration:none;background:#333;color:#fff;display:inline-block;padding:7px 20px;border-radius:20px;transition:all .3s ease-in-out}&lt;br /&gt;
a.pricing-order-btn:hover{transform:scale(1.1)}&lt;br /&gt;
.pricing-column{background:#fff;padding:30px 15px;box-sizing:border-box;border-radius:10px;text-align:center;width:33%;margin:10px;box-shadow:0 7px 7px rgba(0,0,0,0.06);border:2px solid #fff;transition:all .3s ease-in-out}&lt;br /&gt;
.pricing-column ul{list-style:none;padding:10px 0;margin:0;font-size:14px;line-height:2.2}&lt;br /&gt;
.pricing-column img{width:50px}&lt;br /&gt;
.pricing-section i{font-size:3rem}&lt;br /&gt;
.pricing-price{font-weight:700;font-size:22px}&lt;br /&gt;
.service-info{opacity:.7}&lt;br /&gt;
.pricing-2-column .pricing-column{width:50%}&lt;br /&gt;
.pricing-column:nth-child(1) .pricing-price,.pricing-column:nth-child(1) i{color:#f87200}&lt;br /&gt;
.pricing-column:nth-child(2) .pricing-price,.pricing-column:nth-child(2) i{color:#ff5483}&lt;br /&gt;
.pricing-column:nth-child(3) .pricing-price,.pricing-column:nth-child(3) i{color:#2b73f6}&lt;br /&gt;
.pricing-column:nth-child(1):hover{border-color:#f87200}&lt;br /&gt;
.pricing-column:nth-child(2):hover{border-color:#ff5483}&lt;br /&gt;
.pricing-column:nth-child(3):hover{border-color:#2b73f6}&lt;br /&gt;
.pricing-column:nth-child(1) .pricing-tag,.pricing-column:nth-child(1) a.pricing-order-btn{background:#f87200}&lt;br /&gt;
.pricing-column:nth-child(2) .pricing-tag,.pricing-column:nth-child(2) a.pricing-order-btn{background:#ff5483}&lt;br /&gt;
.pricing-column:nth-child(3) .pricing-tag,.pricing-column:nth-child(3) a.pricing-order-btn{background:#2b73f6}&lt;br /&gt;
@media screen and (max-width:580px){&lt;br /&gt;
.pricing-column,.pricing-2-column .pricing-column{width:auto}&lt;br /&gt;
.pricing-container{display:block}}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;The tutorial has been completed, later we will&amp;nbsp;&lt;/span&gt;link back with another &lt;b&gt;interesting&lt;/b&gt; tutorial of course. Continue to monitor this blog or follow this blog so that when Mimin makes new articles you get notifications.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/6530255402574814584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/11/how-to-make-pricing-section-card-price.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/6530255402574814584'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/6530255402574814584'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/11/how-to-make-pricing-section-card-price.html' title='How to Make a Pricing Section Card / Price box with a Luxury and Attractive Style'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCCo47dToYemnY1_TbG-ANiNOdMbKnTgwssnjrCGI4euECDTYqy-4rLQGamwPI-Ofjg4DDNRrKGGewwvXcHkjz2_IhHFzwfKEBKpoP4IYXjUeKwAm7lCIwamkgsvneXxa5skXeohZnFJtO/s72-c/Pricing+Table+By+TopBlog+Pk.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-5486004109887128573</id><published>2020-10-19T10:29:00.004-07:00</published><updated>2020-12-08T04:35:48.125-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>HTML Complete Course A to Z By TopBlog Pk</title><content type='html'>&lt;p&gt;In this article, I am going to share some of the best, free online courses to learn &lt;b&gt;Web Development &lt;/b&gt;using &lt;b&gt;HTML&lt;/b&gt; and &lt;b&gt;CSS&lt;/b&gt;. If you are new to web development space then you can use these courses to start your journey in the beautiful world of websites.&lt;/p&gt;&lt;p&gt;It’s one of my favorite course and the only courses you need to learn web development   &lt;b&gt;HTML&lt;/b&gt;, &lt;b&gt;CSS&lt;/b&gt;, &lt;b&gt;JS&lt;/b&gt;, &lt;b&gt;Node&lt;/b&gt;, and many&amp;nbsp;&lt;b&gt;More&lt;/b&gt;!&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEGY9v42GjOo7vDRnvvStMG9ruHhXEKOAeq_B5c9aQTRw5g1Nlx3PgMRVee2XRhir9nSTq_UrgxDKsBwLcXxjq3ua-MDfo5J2cXL39Utz9vPEUPph22M2g_-swlLaJdArmuVVGTaAnB_5F/s1280/Learn+Basic+HTML+By+TopBlog+Pk.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEGY9v42GjOo7vDRnvvStMG9ruHhXEKOAeq_B5c9aQTRw5g1Nlx3PgMRVee2XRhir9nSTq_UrgxDKsBwLcXxjq3ua-MDfo5J2cXL39Utz9vPEUPph22M2g_-swlLaJdArmuVVGTaAnB_5F/s320/Learn+Basic+HTML+By+TopBlog+Pk.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;Online Courses to learn Web Development using HTML and CSS By TopBlog Pk&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;
&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;Here is my &lt;b&gt;collection&lt;/b&gt; of some of the best web development courses for programs which are available free of cost. You can learn them from these courses from the comfort of your office and home and you can also learn at your own pace. You can slow down, do some coding and then start again.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;b&gt;HTML&lt;/b&gt; Couse [&lt;b&gt;&lt;span style=&quot;color: red; font-family: helvetica;&quot;&gt;3 weeks&lt;/span&gt;&lt;/b&gt; Course]&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;(&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Week 1&lt;/span&gt;&lt;/b&gt;)&lt;/span&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; id=&quot;orange&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Access&amp;nbsp;&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Topic Name&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-1.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;Introduction to HTML&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-2.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Building Blocks&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-3.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Tags&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-4.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Attributes&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-5.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Elements&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-6_16.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Formatting&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-7.html&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Heading&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-8.html&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Paragraph&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-9.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Anchor&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;(&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Week 2&lt;/span&gt;&lt;/b&gt;)&lt;/span&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; id=&quot;orange&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Access&amp;nbsp;&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Topic Name&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-10.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Image&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-11.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Table&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-12.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Lists&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-13.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Ordered List&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-14.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Un-Ordered List&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-15.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML with CSS&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-16.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Classes&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-17.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Id&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-18.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Iframes&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;(&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Week 3&lt;/span&gt;&lt;/b&gt;)&lt;/span&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; id=&quot;orange&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Access&amp;nbsp;&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Topic Name&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-19.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML JavaScript&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-20.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Comments&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-21.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML File Path&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-22.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Head&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-23.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Layout&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-24.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Responsive&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-25.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Entities&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-26.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Charset&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a href=&quot;https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-27.html&quot; target=&quot;_blank&quot;&gt;View&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;HTML Global Attributes&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot; style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;Thanks for reading this article. If you like these free &lt;b&gt;web development&lt;/b&gt; courses then please share with your friends and colleagues. If you have any &lt;b&gt;questions&lt;/b&gt;&amp;nbsp;❓or &lt;b&gt;feedback&lt;/b&gt; then please drop a note.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/5486004109887128573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/html-complete-course-to-z-by-topblog-pk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5486004109887128573'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5486004109887128573'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/html-complete-course-to-z-by-topblog-pk.html' title='HTML Complete Course A to Z By TopBlog Pk'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEGY9v42GjOo7vDRnvvStMG9ruHhXEKOAeq_B5c9aQTRw5g1Nlx3PgMRVee2XRhir9nSTq_UrgxDKsBwLcXxjq3ua-MDfo5J2cXL39Utz9vPEUPph22M2g_-swlLaJdArmuVVGTaAnB_5F/s72-c/Learn+Basic+HTML+By+TopBlog+Pk.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-2518526288169474358</id><published>2020-10-16T02:17:00.003-07:00</published><updated>2020-12-08T04:35:48.121-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 1</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; color: #dd5722; font-family: Helvetica; text-align: left;&quot;&gt;&amp;nbsp;Introduction of HTML&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;b&gt;HTML&lt;/b&gt; – HyperText Markup Language – The Language of Web Pages on the World Wide Web.&amp;nbsp;&lt;/p&gt;&lt;p&gt;🔹HTML is a text formatting language.&lt;/p&gt;&lt;p&gt;&lt;b&gt;URL&lt;/b&gt; – Uniform Resource Locator.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Browser&lt;/b&gt; – A software program which is used to show web pages.&lt;/p&gt;&lt;p&gt;&lt;b&gt;W W W&lt;/b&gt; – World Wide Web&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Brief History of HTML&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;HTML&lt;/b&gt; was created by &lt;b&gt;Berners-Lee &lt;/b&gt;in late 1991.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Tim &lt;b&gt;Berners-Lee&lt;/b&gt; is known as father of HTML. The first available description of HTML was a document called &quot;HTML Tags&quot; proposed by Tim in late &lt;b&gt;1991&lt;/b&gt;. The latest version of &lt;b&gt;HTML&lt;/b&gt; is &lt;b&gt;HTML5&lt;/b&gt;, which we will learn later in this tutorial.&lt;/p&gt;
&lt;p&gt;&quot;HTML 2.0&quot; was the &lt;b&gt;first&lt;/b&gt; standard &lt;b&gt;HTML&lt;/b&gt; specification which was published in &lt;b&gt;1995&lt;/b&gt;. HTML 4.01 was a major version of HTML and it was published in late &lt;b&gt;1999&lt;/b&gt;. Though HTML 4.01 version is widely used but currently we are having &lt;b&gt;HTML-5&lt;/b&gt; version which is an extension to HTML 4.01, and this version was published in &lt;b&gt;2012&lt;/b&gt;.&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Choosing Text Editor&lt;/span&gt;&lt;/h3&gt;There are many &lt;b&gt;different&lt;/b&gt; programs that you can use to create web documents. 🔹&lt;b&gt;HTML Editors&lt;/b&gt; enable users to create documents quickly and easily by pushing a few buttons. Instead of entering all of the HTML codes by hand.
These programs will generate the HTML Source Code for you.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;🔹&lt;b&gt;NotePad&lt;/b&gt; is the standard text editor that comes with the microsoft windows operating system. To start &lt;b&gt;NotePad&lt;/b&gt; in windows 9x or XP follow the steps bellow:
Click on the “&lt;b&gt;Start&lt;/b&gt;” button located on your Windows task bar.
Click on “&lt;b&gt;Programs&lt;/b&gt;” and then click on the directory menu labeled “&lt;b&gt;Accessories&lt;/b&gt;”.
Locate the shortcut “&lt;b&gt;NotePad&lt;/b&gt;” and click the shortcut once.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Upon completing this section, you should be able to&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;1. Choose a &lt;b&gt;Text Editor&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;2. Create a &lt;b&gt;Basic&lt;/b&gt; Starting Document.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;3. Understand and set Document Properties.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;4. View Your &lt;b&gt;Results&lt;/b&gt; in a &lt;b&gt;Browser&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsULnsglWGV8pyIuUzrlR84t_khreBtsC4DOOUdx0CWcKBOff7H2tB6-4anPOHkFXbL7l2dukaoxB3vwmGX_kppq_4YmHNoNUlI_4KK2xBjVrkPcQP17k2sLi7UbzcfHBuK3y7ytnb2QL0/s1280/Basic+HTML+By+TopBlog+Pk+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsULnsglWGV8pyIuUzrlR84t_khreBtsC4DOOUdx0CWcKBOff7H2tB6-4anPOHkFXbL7l2dukaoxB3vwmGX_kppq_4YmHNoNUlI_4KK2xBjVrkPcQP17k2sLi7UbzcfHBuK3y7ytnb2QL0/s320/Basic+HTML+By+TopBlog+Pk+1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;Features of HTML&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p dir=&quot;ltr&quot;&gt;🔹It is a very easy and simple language. It can be easily understood and modified.&lt;br /&gt;🔹It is very easy to make effective presentation with HTML because it has a lot of formatting tags.&lt;br /&gt;🔹It is a markup language so it provides a flexible way to design web pages along with the text.&lt;br /&gt;🔹It facilitates programmers to add link on the web pages (by html anchor tag) , so it enhances the interest of browsing of the user.&lt;br /&gt;🔹It is platform-independent because it can be displayed on any platform like Windows, Linux and Macintosh etc.&lt;br /&gt;🔹It facilitates the programmer to add Graphics, Videos, and Sound to the web pages which makes it more attractive and interactive.&lt;br /&gt;🔹HTML is case-insensitive language, which means we can use tags either in lower-case&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/2518526288169474358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2518526288169474358'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2518526288169474358'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-1.html' title='Learn Basic HTML Complete Course part 1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsULnsglWGV8pyIuUzrlR84t_khreBtsC4DOOUdx0CWcKBOff7H2tB6-4anPOHkFXbL7l2dukaoxB3vwmGX_kppq_4YmHNoNUlI_4KK2xBjVrkPcQP17k2sLi7UbzcfHBuK3y7ytnb2QL0/s72-c/Basic+HTML+By+TopBlog+Pk+1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-4892868519422249481</id><published>2020-10-16T01:50:00.002-07:00</published><updated>2020-12-08T04:35:48.124-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 2</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;Building blocks of HTML&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An HTML document consist of its basic &lt;b&gt;building blocks&lt;/b&gt; which are:&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #212529; font-weight: bolder;&quot;&gt;Tags:&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&amp;nbsp;An HTML &lt;b&gt;tag&lt;/b&gt; surrounds the content and apply meaning to it. It is written between &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; brackets.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; color: #212529; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Attribute:&lt;/span&gt;&amp;nbsp;An &lt;b&gt;attribute&lt;/b&gt; in HTML provides &lt;b&gt;extra&lt;/b&gt; information about the &lt;b&gt;element&lt;/b&gt;, and it is applied within the start tag. An HTML attribute contains two fields:&amp;nbsp;&lt;b&gt;name&lt;/b&gt; and &lt;b&gt;value&lt;/b&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Syntax&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;b&gt;&amp;lt;tag_name attribute_name=&quot;attr_value&quot;&amp;gt;content&amp;lt;/tag_name&amp;gt;&lt;/b&gt;&lt;/blockquote&gt;&amp;nbsp;&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpKNJrI8nn2Vnt6Jze7Pi1zAGJdkM1aLV6QWOyZ0AXzc5f-onN8kUJHSlE9B9mGHNgZZHsqd6spgVt5HRKYF9nYOC4o2gzOzST8EEN8wFcgUt8ZFY_cLvJHnqi_czrGGfISh95scYfX6z8/s1280/Basic+HTML+By+TopBlog+Pk+2.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpKNJrI8nn2Vnt6Jze7Pi1zAGJdkM1aLV6QWOyZ0AXzc5f-onN8kUJHSlE9B9mGHNgZZHsqd6spgVt5HRKYF9nYOC4o2gzOzST8EEN8wFcgUt8ZFY_cLvJHnqi_czrGGfISh95scYfX6z8/s320/Basic+HTML+By+TopBlog+Pk+2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;The basic building blocks of HTML&amp;lt;/title&amp;gt;&amp;nbsp; &lt;br /&gt;
 &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;The building blocks&amp;lt;/h2&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;This is a paragraph tag&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p style=&quot;color: red&quot;&amp;gt;The style is attribute of paragraph tag&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span&amp;gt;The element contains tag, attribute and content&amp;lt;/span&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;The building blocks&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a paragraph tag&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: red; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The style is attribute of paragraph tag&lt;/p&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;The element contains tag, attribute and content&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One important thing In above &lt;b&gt;example&lt;/b&gt;&amp;nbsp;is,&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;font-size: 16px;&quot;&gt;&lt;blockquote&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/blockquote&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;The &lt;b&gt;Purpose&lt;/b&gt; of &lt;b&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;🔹The very &lt;b&gt;first line&lt;/b&gt; in every web document should contain a &lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;/b&gt; declaration. Even though it&#39;s wrapped in angle brackets, it is &lt;b&gt;not&lt;/b&gt; a &lt;b&gt;tag&lt;/b&gt; but a &lt;b&gt;statement&lt;/b&gt;.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;b&gt;🔹Doctype&lt;/b&gt; stands for &lt;b&gt;Document Type Declaration&lt;/b&gt;. It informs the web browser about the &lt;b&gt;type&lt;/b&gt; and &lt;b&gt;version&lt;/b&gt; of &lt;b&gt;HTML&lt;/b&gt; used in building the web document. This helps the browser to &lt;b&gt;handle&lt;/b&gt; and &lt;b&gt;load&lt;/b&gt; it properly.&lt;/span&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;The &lt;b&gt;HTML5&lt;/b&gt; word &lt;b&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/b&gt; means &quot;this page is written in &lt;i&gt;&lt;b&gt;HTML5&lt;/b&gt;&lt;/i&gt;&quot; as opposed to, say &lt;b&gt;&lt;i&gt;HTML 4.01&lt;/i&gt;&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;Unlike earlier &lt;b&gt;versions&lt;/b&gt; of HTML, in HTML5 the doctype declaration is case-insensitive.&lt;/span&gt;&lt;br /&gt;
In other words &lt;b&gt;&amp;lt;!doctype html&amp;gt;&lt;/b&gt; works as well as &lt;b&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/b&gt;.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;Hope you &lt;b&gt;understand&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;😊&lt;/b&gt;!&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/4892868519422249481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4892868519422249481'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4892868519422249481'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-2.html' title='Learn Basic HTML Complete Course part 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpKNJrI8nn2Vnt6Jze7Pi1zAGJdkM1aLV6QWOyZ0AXzc5f-onN8kUJHSlE9B9mGHNgZZHsqd6spgVt5HRKYF9nYOC4o2gzOzST8EEN8wFcgUt8ZFY_cLvJHnqi_czrGGfISh95scYfX6z8/s72-c/Basic+HTML+By+TopBlog+Pk+2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-5503742710402207489</id><published>2020-10-16T01:43:00.006-07:00</published><updated>2020-12-08T04:35:48.125-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 3</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Tags&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;HTML tags are like &lt;b&gt;keywords&lt;/b&gt; which defines that &lt;b&gt;how web browser will format and display the content&lt;/b&gt;. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain &lt;b&gt;three&lt;/b&gt; main parts: &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;opening tag&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;closing&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; tag. But some HTML tags are &lt;b&gt;unclosed&lt;/b&gt; tags.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;When a web browser reads an HTML document, browser reads it from top to bottom and left to right. &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;HTML tags&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; are used to create HTML documents and render their properties. Each HTML tags have different properties.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;An HTML file must have some essential tags so that web browser can differentiate between a simple text and HTML text. You can use as many tags you want as per your code requirement.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;All HTML tags must &lt;b&gt;enclosed&lt;/b&gt; within &lt;b&gt;&amp;lt; &amp;gt; &lt;/b&gt;these brackets.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Every &lt;b&gt;tag&lt;/b&gt; in HTML perform different tasks.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;If you have used an open tag&amp;nbsp;&lt;tag style=&quot;box-sizing: border-box;&quot;&gt;, then you must use a &lt;b&gt;close&lt;/b&gt; tag&amp;nbsp;&lt;/tag&gt;(except some tags)&lt;/li&gt;&lt;/ul&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Tag Examples&lt;/h4&gt;&lt;xmp id=&quot;code&quot; style=&quot;box-sizing: border-box; color: #212529; font-size: 12px; text-align: justify;&quot;&gt;

	&lt;/xmp&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unclosed HTML Tags&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;Some HTML tags are not closed, for &lt;b&gt;example&lt;/b&gt; br and hr.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;br Tag:&lt;/span&gt;&amp;nbsp;br stands for &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;break line&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt;, it breaks the line of the code.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; color: #212529; font-weight: bolder;&quot;&gt;hr Tag:&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&amp;nbsp;hr stands for &lt;/span&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;Horizontal Rule&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt;. This tag is used to put a line across the webpage.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;b&gt;HTML&lt;/b&gt; uses various &lt;b&gt;tags&lt;/b&gt; to create the structure of the web page. Every tag is written inside angular brackets &lt;b&gt;&amp;lt;&amp;gt;&lt;/b&gt;. Almost every &lt;b&gt;tag&lt;/b&gt; also has a corresponding &lt;b&gt;closing&lt;/b&gt; tag. Tags are also known as &lt;b&gt;elements&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;Tags are of two types- &lt;/b&gt;&lt;br /&gt;
(a) Container Tags/Elements &lt;br /&gt;
(b) Empty Tags/Elements &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;The tags are discussed below: &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(i) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;!DOCTYPE html&lt;/span&gt;&amp;gt; &lt;/b&gt;&lt;br /&gt;
This tag is used to tell the web browser that the following text document is a HTML document. There&#39;s no need to mention the HTML version. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(ii) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;html&lt;/span&gt;&amp;gt; &lt;/b&gt;&lt;br /&gt;
This tag comprises of the complete HTML document and everything in a HTML document needs to be written inside these angular brackets. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(iii) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;head&lt;/span&gt;&amp;gt; &lt;/b&gt;&lt;br /&gt;
This tag is used for document&#39;s header. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(iv) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;title&lt;/span&gt;&amp;gt;&lt;/b&gt; &lt;br /&gt;
This tag is used to mention the title of the document and is placed inside &amp;lt;&lt;span style=&quot;color: red;&quot;&gt;head&lt;/span&gt;&amp;gt; tag. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(v) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;body&lt;/span&gt;&amp;gt; &lt;/b&gt;This tag consists of body of HTML document. It includes other HTML tags like &amp;lt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;h1&lt;/span&gt;&lt;/b&gt;&amp;gt; and &amp;lt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;p&lt;/span&gt;&lt;/b&gt;&amp;gt;. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(vi) &lt;b&gt;&amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;h1&lt;/span&gt;&amp;gt; &lt;/b&gt;&lt;br /&gt;
This tag represents the main heading of the document. A document can have multiple headings and can be denotes as &amp;lt;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;h2&lt;/span&gt;&lt;/b&gt;&amp;gt;, &amp;lt;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;h3&lt;/span&gt;&lt;/b&gt;&amp;gt;,...,etc. &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;(vii) &amp;lt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;&lt;b&gt;p&lt;/b&gt;&lt;/span&gt;&amp;gt; &lt;br /&gt;
This is a container element and is used to represent the paragraph of the HTML document.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;Remaining &lt;b&gt;Tags&lt;/b&gt; are as follow...&amp;nbsp;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Meta Tags&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;b&gt;DOCTYPE, title, link, meta and style&lt;/b&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Text Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;p&amp;gt;, &amp;lt;h1&amp;gt;, &amp;lt;h2&amp;gt;, &amp;lt;h4&amp;gt;, &amp;lt;h4&amp;gt;, &amp;lt;h5&amp;gt;, &amp;lt;h6&amp;gt;,&lt;br /&gt;
	&amp;lt;strong&amp;gt;, &amp;lt;em&amp;gt;, &amp;lt;abbr&amp;gt;, &amp;lt;acronym&amp;gt;, &amp;lt;address&amp;gt;,&lt;br /&gt;
	&amp;lt;bdo&amp;gt;, &amp;lt;blockquote&amp;gt;, &amp;lt;cite&amp;gt;, &amp;lt;q&amp;gt;, &amp;lt;code&amp;gt;, &amp;lt;ins&amp;gt;,&lt;br /&gt;
	&amp;lt;del&amp;gt;, &amp;lt;dfn&amp;gt;, &amp;lt;kbd&amp;gt;, &amp;lt;pre&amp;gt;, &amp;lt;samp&amp;gt;, &amp;lt;var&amp;gt; and &amp;lt;br&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Link Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;a&amp;gt; and &amp;lt;base&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Image and Object Tags&lt;/h4&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;img&amp;gt;, &amp;lt;area&amp;gt;, &amp;lt;map&amp;gt;, &amp;lt;param&amp;gt; and &amp;lt;object&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML List Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;ul&amp;gt;, &amp;lt;ol&amp;gt;, &amp;lt;li&amp;gt;, &amp;lt;dl&amp;gt;, &amp;lt;dt&amp;gt; and &amp;lt;dd&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Table Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;table&amp;gt;, &amp;lt;tr&amp;gt;, &amp;lt;td&amp;gt;, &amp;lt;th&amp;gt;, &amp;lt;tbody&amp;gt;,&amp;lt;thead&amp;gt;,&lt;/span&gt;&lt;br /&gt;
	&amp;lt;tfoot&amp;gt;, &amp;lt;col&amp;gt;, &amp;lt;colgroup&amp;gt; and &amp;lt;caption&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Form Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;form&amp;gt;, &amp;lt;input&amp;gt;, &amp;lt;textarea&amp;gt;, &amp;lt;select&amp;gt;, &amp;lt;option&amp;gt;,&lt;/span&gt;&lt;br /&gt;
	&amp;lt;optgroup&amp;gt;, &amp;lt;button&amp;gt;, &amp;lt;label&amp;gt;, &amp;lt;fieldset&amp;gt; and&lt;br /&gt;
	&amp;lt;legend&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Scripting Tags&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;script&amp;gt; &amp;lt;/script&amp;gt; and &amp;lt;noscript&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ4CyVYVfOnrgk1xK8QR_vHR1g49F9U1UpGN62fevyMQUNSNtFSAZVAKYPsrVGeIZvPPlN9ASqT7c6ekj2ZUyyomk8oJ_cZ4K5juEcJDS7_hXs56Uzj2yAwVJFKzRzwjQqeRl1jSXfwAuE/s1280/Basic+HTML+By+TopBlog+Pk+3.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ4CyVYVfOnrgk1xK8QR_vHR1g49F9U1UpGN62fevyMQUNSNtFSAZVAKYPsrVGeIZvPPlN9ASqT7c6ekj2ZUyyomk8oJ_cZ4K5juEcJDS7_hXs56Uzj2yAwVJFKzRzwjQqeRl1jSXfwAuE/s320/Basic+HTML+By+TopBlog+Pk+3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/5503742710402207489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5503742710402207489'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5503742710402207489'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-3.html' title='Learn Basic HTML Complete Course part 3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ4CyVYVfOnrgk1xK8QR_vHR1g49F9U1UpGN62fevyMQUNSNtFSAZVAKYPsrVGeIZvPPlN9ASqT7c6ekj2ZUyyomk8oJ_cZ4K5juEcJDS7_hXs56Uzj2yAwVJFKzRzwjQqeRl1jSXfwAuE/s72-c/Basic+HTML+By+TopBlog+Pk+3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-1285529031931848231</id><published>2020-10-16T00:45:00.003-07:00</published><updated>2020-12-08T04:35:48.120-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 4</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Attribute&lt;/h2&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;b&gt;HTML attributes&lt;/b&gt; are special words which provide &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;additional&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; information about the elements or attributes are the modifier of the HTML element.&lt;/span&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;🔹Each element or tag can have &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;attributes&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;, which defines the &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;behaviour&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; of that element.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;🔹Attributes should always be applied with &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;start&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; tag.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;The Attribute should always be applied with its &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;name&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; and &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;value&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; pair.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;🔹The Attributes name and values are &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;case sensitive&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;, and it is recommended by &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;W3C&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; that it should be written in Lowercase only.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;🔹You can add &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;multiple&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; attributes in one HTML element, but need to give &lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;space&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt; between two attributes.&lt;/span&gt;&lt;br /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Syntax&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;element attribute_name=&quot;value&quot;&amp;gt;content&amp;lt;/element&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt; This is Style attribute&amp;lt;/h4&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p style=&quot;height: 50px; color: blue&quot;&amp;gt;It will &lt;br /&gt;
			add style property in element&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p style=&quot;color: red&quot;&amp;gt;It will change the color of content&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;This is Style attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: blue; height: 50px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;It will add style property in element&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: red; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;It will change the color of content&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; font-weight: bolder; text-align: justify;&quot;&gt;Explanation of above example:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;xmp class=&quot;code&quot; style=&quot;border-color: rgb(140, 133, 133) rgb(140, 133, 133) rgb(140, 133, 133) rgb(64, 193, 79); border-style: solid; border-width: 0.5px 0.5px 0.5px 2px; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; max-width: 100vw; overflow-x: scroll; padding-left: 15px; padding-right: 15px; text-align: justify;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&amp;lt;p style=&quot;height: 50px; color: blue&quot;&amp;gt;It will add style property in element&amp;lt;/p&amp;gt;&lt;/span&gt;&amp;nbsp; &lt;/span&gt; &lt;/p&gt;&lt;/xmp&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;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.&lt;/p&gt;&lt;xmp class=&quot;code&quot; style=&quot;border-color: rgb(140, 133, 133) rgb(140, 133, 133) rgb(140, 133, 133) rgb(64, 193, 79); border-style: solid; border-width: 0.5px 0.5px 0.5px 2px; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; max-width: 100vw; overflow-x: scroll; padding-left: 15px; padding-right: 15px; text-align: justify;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;span style=&quot;background-color: #fcff01;&quot;&gt;&amp;lt;p style=&quot;color: red&quot;&amp;gt;It will change the color of content&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/xmp&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In the above statement we have again used style attribute in paragraph tag, which turns its colour red.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;There are some commonly used attributes are given below, and the complete list and explanation of all attributes are given in HTML attributes List.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;The title attribute in HTML&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Description:&lt;/span&gt;&amp;nbsp;The title attribute is used as text tooltip in most of the browsers. It display its text when user move the cursor over a link or any text. You can use it with any text or link to show the description about that link or text. In our example, we are taking this with paragraph tag and heading tag.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4 title=&quot;This is heading tag&quot;&amp;gt;Example of title attribute&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p title=&quot;This is paragraph tag&quot;&amp;gt;Move the cursor over the heading &lt;br /&gt;
		and paragraph, and you will see a description as a tooltip&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot; title=&quot;This is heading tag&quot;&gt;Example of title attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; title=&quot;This is paragraph tag&quot;&gt;Move the cursor over the heading and paragraph, and you will see a description as a tooltip&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;The href attribute in HTML&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Description:&lt;/span&gt;&amp;nbsp;The &lt;b&gt;href attribute&lt;/b&gt; is the main attribute of&amp;nbsp;&lt;a style=&quot;box-sizing: border-box; color: inherit;&quot;&gt;anchor tag. This attribute gives the link address which is specified in that link.&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;The href attribute provides the &lt;b&gt;hyperlink&lt;/b&gt;, and if it is blank, then it will remain in same page.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;a style=&quot;box-sizing: border-box; color: inherit;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;Display of href attribute&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;Below is the link of anchor tag, click the link and see the next page&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&quot;https://touchtogain.blogspot.com&quot;&amp;gt;This is a link&amp;lt;/a&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px;&quot;&gt;output:&lt;/a&gt;&lt;/div&gt;&lt;a style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;output&quot; id=&quot;output3&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a style=&quot;background-color: transparent; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Display of href attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Below is the link of anchor tag, click the link and see the next page&lt;/p&gt;&lt;/a&gt;&lt;a href=&quot;https://touchtogain.blogspot.com&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot;&gt;This is a link&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;The src Attribute&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;src&lt;/span&gt;&amp;nbsp;attribute is one of the important and required attribute of&amp;nbsp;&lt;img style=&quot;border-style: none; box-sizing: border-box; vertical-align: middle;&quot; /&gt;&amp;nbsp;element. It is source for the image which is required to display on browser. This attribute can contain image in same directory or another directory. The image name or source should be correct else browser will not display the image.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;Example of src attribute&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;HTML images can be diplayed with the help of image tag and &lt;br /&gt;
			its attribute src gives the sourc for that image&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src=&quot;&lt;span style=&quot;color: red;&quot;&gt;../image/html.jpg&lt;/span&gt;&quot; height=&quot;200&quot; width=&quot;300&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;output:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output4&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example of src attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;HTML images can be diplayed with the help of image tag and its attribute src gives the sourc for that image&lt;/p&gt;😊 &lt;span style=&quot;color: red;&quot;&gt;Your image is here&lt;/span&gt; 😊&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLxxEus5fH-4_cLBqYGPueow17cpRIpotJoybyvQur0ggmReMXkFaMHOGcGatvnf4H-9NT9ThXFoErGWCPhccdWsp25vMWzhVTgyLdwp3dc-LGA9aBDkx_weECD3RYKRbBLV4VX0M6eQJg/s1280/Basic+HTML+By+TopBlog+Pk+4.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLxxEus5fH-4_cLBqYGPueow17cpRIpotJoybyvQur0ggmReMXkFaMHOGcGatvnf4H-9NT9ThXFoErGWCPhccdWsp25vMWzhVTgyLdwp3dc-LGA9aBDkx_weECD3RYKRbBLV4VX0M6eQJg/s320/Basic+HTML+By+TopBlog+Pk+4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/1285529031931848231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1285529031931848231'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1285529031931848231'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-4.html' title='Learn Basic HTML Complete Course part 4'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLxxEus5fH-4_cLBqYGPueow17cpRIpotJoybyvQur0ggmReMXkFaMHOGcGatvnf4H-9NT9ThXFoErGWCPhccdWsp25vMWzhVTgyLdwp3dc-LGA9aBDkx_weECD3RYKRbBLV4VX0M6eQJg/s72-c/Basic+HTML+By+TopBlog+Pk+4.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-3096184537798103457</id><published>2020-10-16T00:29:00.001-07:00</published><updated>2020-12-08T04:35:48.122-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 5</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Elements&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An HTML file is made of elements. These &lt;b&gt;elements&lt;/b&gt; are responsible for creating web pages and define content in that webpage. An &lt;b&gt;element&lt;/b&gt; in HTML usually consist of a start tag&amp;nbsp;&lt;tag_name style=&quot;box-sizing: border-box;&quot;&gt;, close tag&amp;nbsp;&lt;/tag_name&gt;and content inserted between them.&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Technically, an element is a collection of start tag, attributes, end tag, content between them.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Some elements does not have &lt;b&gt;end&lt;/b&gt; tag and &lt;b&gt;content&lt;/b&gt;, these elements are termed as &lt;b&gt;empty&lt;/b&gt; elements or self-closing element or void elements.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;Void element&lt;/b&gt;: All the elements in HTML do not require to have start tag and end tag, some elements does not have content and end tag such elements are known as Void elements or empty elements. These elements are also called as unpaired tag.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Some Void elements are&lt;b&gt; &amp;lt;br&amp;gt;&lt;/b&gt; (represents a line break) , &amp;lt;hr&amp;gt;(represents a horizontal line), etc.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Nested HTML Elements&lt;/b&gt;: HTML can be nested, which means an element can contain another element.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIwT6ZZbiiwFUhOcLc6KSmtD76P5TYcd7_G0xsBD0EngPrPBgr1ajRErDE9eeXKlTpOT_5saZwFwM2pTePbZzBsL2NqXUcMGhgh63rsfmuXNHaFgslikTMxJhBzcnE_Pt9ogi092BD9Bt/s1280/Basic+HTML+By+TopBlog+Pk+5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIwT6ZZbiiwFUhOcLc6KSmtD76P5TYcd7_G0xsBD0EngPrPBgr1ajRErDE9eeXKlTpOT_5saZwFwM2pTePbZzBsL2NqXUcMGhgh63rsfmuXNHaFgslikTMxJhBzcnE_Pt9ogi092BD9Bt/s320/Basic+HTML+By+TopBlog+Pk+5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Block-level element:&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;These are the elements, which structure main part of web page, by dividing a page into coherent blocks.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;A block-level element always &lt;b&gt;start&lt;/b&gt; with new line and takes the full width of web page, from left to right.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;These elements can contain block-level as well as inline elements.&lt;/li&gt;&lt;/ul&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;b&gt;Following are the block-level elements in HTML.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;address&amp;gt;, &amp;lt;article&amp;gt;, &amp;lt;aside&amp;gt;, &amp;lt;blockquote&amp;gt;, &amp;lt;canvas&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dd&amp;gt;, &amp;lt;div&amp;gt;, &amp;lt;dl&amp;gt;, &amp;lt;dt&amp;gt;, &amp;lt;fieldset&amp;gt;, &amp;lt;figcaption&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;figure&amp;gt;, &amp;lt;footer&amp;gt;, &amp;lt;form&amp;gt;, &amp;lt;h1&amp;gt;-&amp;lt;h6&amp;gt;, &amp;lt;header&amp;gt;, &amp;lt;hr&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;, &amp;lt;main&amp;gt;, &amp;lt;nav&amp;gt;, &amp;lt;noscript&amp;gt;, &amp;lt;ol&amp;gt;,&amp;lt;output&amp;gt;, &amp;lt;p&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;pre&amp;gt;, &amp;lt;section&amp;gt;, &amp;lt;table&amp;gt;, &amp;lt;tfoot&amp;gt;, &amp;lt;ul&amp;gt; and &amp;lt;video&amp;gt;.&lt;/blockquote&gt;&lt;br /&gt;
	&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div style=&quot;background-color: lightblue&quot;&amp;gt;This is first div&amp;lt;/div&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div style=&quot;background-color: lightgreen&quot;&amp;gt;This is second div&amp;lt;/div&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p style=&quot;background-color: pink&quot;&amp;gt;This is a block level element&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;div style=&quot;background-color: lightblue; box-sizing: border-box;&quot;&gt;This is first div&lt;/div&gt;&lt;div style=&quot;background-color: lightgreen; box-sizing: border-box;&quot;&gt;This is second div&lt;/div&gt;&lt;p style=&quot;background-color: pink; box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a block level element&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In the above &lt;b&gt;example&lt;/b&gt; we have used tag, which defines a section in a web page, and takes full width of page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;We have used style attribute which is used to styling the HTML content, and the background color are showing that it&#39;s a block level element.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #dd5722; font-family: Helvetica; font-size: 1.5rem; text-align: left;&quot;&gt;Inline elements:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;b&gt;Inline elements&lt;/b&gt; are those elements, which differentiate the part of a given text and provide it a particular function.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;These elements does not start with &lt;b&gt;new line&lt;/b&gt; and take &lt;b&gt;width&lt;/b&gt; as per requirement.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;The Inline elements are &lt;b&gt;mostly&lt;/b&gt; used with other elements.&lt;/li&gt;&lt;/ul&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;a&amp;gt;, &amp;lt;abbr&amp;gt;, &amp;lt;acronym&amp;gt;, &amp;lt;b&amp;gt;, &amp;lt;bdo&amp;gt;, &amp;lt;big&amp;gt;, &amp;lt;br&amp;gt;, &amp;lt;button&amp;gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cite&amp;gt;, &amp;lt;code&amp;gt;, &amp;lt;dfn&amp;gt;, &amp;lt;em&amp;gt;, &amp;lt;i&amp;gt;, &amp;lt;img&amp;gt;, &amp;lt;input&amp;gt;, &amp;lt;kbd&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;, &amp;lt;map&amp;gt;, &amp;lt;object&amp;gt;, &amp;lt;q&amp;gt;, &amp;lt;samp&amp;gt;, &amp;lt;select&amp;gt;, &amp;lt;small&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span&amp;gt;, &amp;lt;strong&amp;gt;, &amp;lt;sub&amp;gt;, &amp;lt;sup&amp;gt;, &amp;lt;textarea&amp;gt;, &amp;lt;time&amp;gt;, &amp;lt;tt&amp;gt;, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;var&amp;gt;.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&quot;https://touchtogain.blogspot.com&quot;&amp;gt;Click on link&amp;lt;/a&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span style=&quot;background-color: lightblue&quot;&amp;gt;this is inline element&amp;lt;/span&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;This will take width of text only&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;a href=&quot;https://touchtogain.blogspot.com&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot;&gt;Click on link&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;background-color: lightblue; box-sizing: border-box;&quot;&gt;this is inline element&lt;/span&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This will take width of text only&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/3096184537798103457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/3096184537798103457'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/3096184537798103457'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-5.html' title='Learn Basic HTML Complete Course part 5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIwT6ZZbiiwFUhOcLc6KSmtD76P5TYcd7_G0xsBD0EngPrPBgr1ajRErDE9eeXKlTpOT_5saZwFwM2pTePbZzBsL2NqXUcMGhgh63rsfmuXNHaFgslikTMxJhBzcnE_Pt9ogi092BD9Bt/s72-c/Basic+HTML+By+TopBlog+Pk+5.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-4008379224235303528</id><published>2020-10-16T00:16:00.001-07:00</published><updated>2020-12-08T04:35:48.123-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 6</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Formatting Tags&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;HTML Formatting&lt;/span&gt;&amp;nbsp;is a process of formatting text for better look and feel. HTML provides us ability to format text without using CSS. There are many formatting tags in HTML. These tags are used to make text &lt;b&gt;bold&lt;/b&gt;, &lt;b&gt;italicized&lt;/b&gt;, or &lt;b&gt;underlined&lt;/b&gt;. There are almost &lt;b&gt;14&lt;/b&gt; options available that how text appears in HTML and XHTML.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;In HTML the formatting tags are divided into &lt;b&gt;two&lt;/b&gt; categories:&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Physical tag:&lt;/span&gt;&amp;nbsp;These tags are used to provide visual appearance to the text.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Logical tag:&lt;/span&gt;&amp;nbsp;These tags are used to add some logical or semantic value to the text.&lt;/li&gt;&lt;/ul&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;There are some physical and logical tags which may give same visual appearance but they will be different in semantics.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;List of HTML Formatting Tags&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;table align=&quot;center&quot; id=&quot;blue&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #5b9bd5; border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Element name&lt;/th&gt;&lt;th style=&quot;background-color: #5b9bd5; border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;b&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This is physical tag, which is used to bold the text written between it.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;strong&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This is a logical tag, which is tells the browser that the text is important.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;i&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This is physical tag which is used to make text italic.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;em&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This is a logical tag which is used to display content in italic.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;mark&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to highlight a text.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;u&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to underline text written between it.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;tt&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to appear a text in teletype. (not supported in HTML5)&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;strike&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to draw a strikethrough on a section of text. (Not supported in HTML5)&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;It display the content slightly above the normal line.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;sub&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;It display the content slightly below the normal line.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;del&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to display the deleted content.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;ins&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag display the content which is added&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;big&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to increase the font size by one conventional unit.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;&amp;lt;small&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This tag is used to decrease the font size by one unit from base font size.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!doctype html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
 	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;Write Your First Paragraph in bold text.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;strong&amp;gt;This is an important content&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
		&amp;lt;em&amp;gt;This is an important content&amp;lt;/em&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
		&amp;lt;h2&amp;gt; I want to put a &amp;lt;mark&amp;gt; Mark&amp;lt;/mark&amp;gt; on your face&amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
		&lt;br /&gt;
		&amp;lt;u&amp;gt;Write Your First Paragraph in underlined text.&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		&amp;lt;strike&amp;gt;Write Your First Paragraph with strikethrough&amp;lt;/strike&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		Hello &amp;lt;tt&amp;gt;Write Your First Paragraph in monospaced font.&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		Hello &amp;lt;sup&amp;gt;Write Your First Paragraph in superscript.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		Hello &amp;lt;sub&amp;gt;Write Your First Paragraph in subscript.&amp;lt;/sub&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		Hello &amp;lt;del&amp;gt;Delete your first paragraph.&amp;lt;/del&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		&amp;lt;del&amp;gt;Delete your first paragraph.&amp;lt;/del&amp;gt;&amp;lt;ins&amp;gt;Write another paragraph.&amp;lt;/ins&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
		Hello &amp;lt;big&amp;gt;Write the paragraph in larger font.&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
	&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; text-align: justify;&quot; /&gt;&lt;/span&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; padding: 10px;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Write Your First Paragraph in bold text.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;This is an important content&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;em style=&quot;box-sizing: border-box; font-size: 12px;&quot;&gt;This is an important content&lt;/em&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;I want to put a&amp;nbsp;&lt;mark style=&quot;background-color: #fcf8e3; box-sizing: border-box; padding: 0.2em;&quot;&gt;Mark&lt;/mark&gt;&amp;nbsp;on your face&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;u style=&quot;box-sizing: border-box; font-size: 12px;&quot;&gt;Write Your First Paragraph in underlined text.&lt;/u&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strike style=&quot;box-sizing: border-box; font-size: 12px;&quot;&gt;Write Your First Paragraph with strikethrough&lt;/strike&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Hello&amp;nbsp;&lt;/span&gt;&lt;tt style=&quot;box-sizing: border-box; font-size: 12px;&quot;&gt;Write Your First Paragraph in monospaced font.&lt;/tt&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Hello&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 9px; line-height: 0; position: relative; top: -0.5em; vertical-align: baseline;&quot;&gt;Write Your First Paragraph in superscript.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Hello&amp;nbsp;&lt;span style=&quot;bottom: -0.25em; box-sizing: border-box; font-size: 8px; line-height: 0; position: relative; vertical-align: baseline;&quot;&gt;Write Your First Paragraph in subscript.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Hello&amp;nbsp;&lt;del style=&quot;box-sizing: border-box;&quot;&gt;Delete your first paragraph.&lt;/del&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;del style=&quot;box-sizing: border-box;&quot;&gt;Delete your first paragraph.&lt;/del&gt;&lt;ins style=&quot;box-sizing: border-box;&quot;&gt;Write another paragraph.&lt;/ins&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Hello&amp;nbsp;&lt;big style=&quot;box-sizing: border-box;&quot;&gt;Write the paragraph in larger font.&lt;/big&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;📍If you write anything within &lt;b&gt;&amp;lt;b&amp;gt;............&amp;lt;/b&amp;gt;&lt;/b&gt; element, is shown in &lt;b&gt;bold&lt;/b&gt; letters.&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;📍If you write anything between &lt;b&gt;&amp;lt;strong&amp;gt;&amp;nbsp;&lt;/b&gt;??????. &lt;b&gt;&amp;lt;/strong&amp;gt;&lt;/b&gt;, is shown &lt;b&gt;important&lt;/b&gt; text.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;📍If you write anything within &lt;b&gt;&amp;lt;i&amp;gt;............&amp;lt;/i&amp;gt; &lt;/b&gt;element, is shown in &lt;b&gt;italic&lt;/b&gt; letters.&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;📍The HTML&lt;b&gt; &amp;lt;em&amp;gt;&lt;/b&gt; tag is a logical element, which will display the &lt;b&gt;enclosed&lt;/b&gt; content in &lt;i&gt;&lt;b&gt;italic&lt;/b&gt;&lt;/i&gt; font, with added semantics importance.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8akoqY0glFTpH3Okbxh83FOGUpPCHqsqdMeFq1SEI4p2HHaEn4I4b14MaCtFRqZE-aoLZz8EcnfS_FjoGo6wnGujMa0P1VWT7HWdNq6Ouy9EDbDezw-DXX-Z-kux3CAeXdxkqgboI9In/s1280/Basic+HTML+By+TopBlog+Pk+6.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8akoqY0glFTpH3Okbxh83FOGUpPCHqsqdMeFq1SEI4p2HHaEn4I4b14MaCtFRqZE-aoLZz8EcnfS_FjoGo6wnGujMa0P1VWT7HWdNq6Ouy9EDbDezw-DXX-Z-kux3CAeXdxkqgboI9In/s320/Basic+HTML+By+TopBlog+Pk+6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/4008379224235303528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-6_16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4008379224235303528'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4008379224235303528'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-6_16.html' title='Learn Basic HTML Complete Course part 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8akoqY0glFTpH3Okbxh83FOGUpPCHqsqdMeFq1SEI4p2HHaEn4I4b14MaCtFRqZE-aoLZz8EcnfS_FjoGo6wnGujMa0P1VWT7HWdNq6Ouy9EDbDezw-DXX-Z-kux3CAeXdxkqgboI9In/s72-c/Basic+HTML+By+TopBlog+Pk+6.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-7673617558206677192</id><published>2020-10-16T00:07:00.002-07:00</published><updated>2020-12-08T04:35:48.127-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 7</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Heading&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;A &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;HTML heading&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; or &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;HTML &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;h&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; tag&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; can be defined as a &lt;b&gt;title&lt;/b&gt; or a &lt;b&gt;subtitle&lt;/b&gt; which you want to display on the &lt;b&gt;webpage&lt;/b&gt;. When you place the text within the heading tags &lt;b&gt;&amp;lt;h1&amp;gt;.........&amp;lt;/h1&amp;gt;&lt;/b&gt;, it is displayed on the browser in the &lt;b&gt;bold&lt;/b&gt; format and size of the text depends on the &lt;b&gt;number&lt;/b&gt; of &lt;b&gt;heading&lt;/b&gt;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;There are &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;six&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; different HTML &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;headings&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; which are defined with the &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; to &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;&amp;lt;h6&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; tags, from highest level &lt;b&gt;h1&lt;/b&gt; (main heading) to the least level &lt;b&gt;h6&lt;/b&gt; (least important heading).&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&lt;b&gt;h1&lt;/b&gt; is the &lt;b&gt;largest&lt;/b&gt; heading tag and &lt;b&gt;h6&lt;/b&gt; is the &lt;b&gt;smallest&lt;/b&gt; one. So &lt;b&gt;h1&lt;/b&gt; is used for most important heading and &lt;b&gt;h6&lt;/b&gt; is used for least important.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;Headings in HTML helps the search engine to understand and index the structure of web page.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The main keyword of the whole content of a webpage should be display by &lt;b&gt;h1&lt;/b&gt; heading tag.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Heading elements (&lt;b&gt;h1....h6&lt;/b&gt;) should be used for headings only. They should not be used just to make text bold or big.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Heading no. 1 By TopBlog Pk&amp;lt;/h1&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;Heading no. 2 By TopBlog Pk&amp;lt;/h2&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;Heading no. 3 By TopBlog Pk&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;Heading no. 4 By TopBlog Pk&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h5&amp;gt;Heading no. 5 By TopBlog Pk&amp;lt;/h5&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h6&amp;gt;Heading no. 6 By TopBlog Pk&amp;lt;/h6&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h1 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 1 By TopBlog Pk&amp;nbsp;&lt;/h1&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 2 By TopBlog Pk&amp;nbsp;&lt;/h2&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 3 By TopBlog Pk&amp;nbsp;&lt;/h4&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 4 By TopBlog Pk&amp;nbsp;&lt;/h4&gt;&lt;h5 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.25rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 5 By TopBlog Pk&amp;nbsp;&lt;/h5&gt;&lt;h6 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Heading no. 6 By TopBlog Pk&amp;nbsp;&lt;/h6&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAQ5vzZ1M-wnxlslRkYl_bNSRlD8bg80eZgLQ-1EziVjKCfmEOPpVrNk2aHF4DHEC4sYjEs1mrlKD0p2nSaHWKZHNx8ozrnn2IF0exOYNIaCUhCQphKJsSwqbGsvPwjt1lY1_a1qdzYPzL/s1280/Basic+HTML+By+TopBlog+Pk+7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAQ5vzZ1M-wnxlslRkYl_bNSRlD8bg80eZgLQ-1EziVjKCfmEOPpVrNk2aHF4DHEC4sYjEs1mrlKD0p2nSaHWKZHNx8ozrnn2IF0exOYNIaCUhCQphKJsSwqbGsvPwjt1lY1_a1qdzYPzL/s320/Basic+HTML+By+TopBlog+Pk+7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/7673617558206677192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7673617558206677192'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7673617558206677192'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-7.html' title='Learn Basic HTML Complete Course part 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAQ5vzZ1M-wnxlslRkYl_bNSRlD8bg80eZgLQ-1EziVjKCfmEOPpVrNk2aHF4DHEC4sYjEs1mrlKD0p2nSaHWKZHNx8ozrnn2IF0exOYNIaCUhCQphKJsSwqbGsvPwjt1lY1_a1qdzYPzL/s72-c/Basic+HTML+By+TopBlog+Pk+7.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-1087161174904597981</id><published>2020-10-15T23:54:00.005-07:00</published><updated>2020-12-08T04:35:48.120-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 8</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Paragraph&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML paragraph or HTML &lt;b&gt;p &lt;/b&gt;tag is used to define a &lt;b&gt;paragraph&lt;/b&gt; in a &lt;b&gt;webpage&lt;/b&gt;. Let&#39;s take a simple &lt;b&gt;example&lt;/b&gt; to see how it work. It is a notable point that a browser itself add an empty line before and after a paragraph. An HTML &lt;b&gt;&amp;lt;p&amp;gt;&lt;/b&gt; tag indicates &lt;b&gt;starting&lt;/b&gt; of new &lt;b&gt;paragraph&lt;/b&gt;.&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;If we are using various tags in one HTML file then browser automatically adds a single blank line between the two paragraphs.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Space inside HTML Paragraph&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;If you put a &lt;b&gt;lot&lt;/b&gt; of &lt;b&gt;spaces&lt;/b&gt; inside the HTML &lt;b&gt;p&lt;/b&gt; tag, browser &lt;b&gt;removes&lt;/b&gt; extra &lt;b&gt;spaces&lt;/b&gt; and extra &lt;b&gt;line&lt;/b&gt; while displaying the page. The browser counts number of &lt;i&gt;spaces&lt;/i&gt; and &lt;b&gt;lines&lt;/b&gt; as a single one.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;Let’s take an &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #ffa400;&quot;&gt;example&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;
&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; I am&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; going to provide&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; you a tutorial on HTML[By TopBlog Pk]&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; and hope that it will&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; be very beneficial for you.&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Look, I put here a lot&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; of spaces&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;but&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I know, Browser will ignore it.&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;You cannot determine the display of HTML&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;because resized windows may create different result.&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;I am going to provide you a tutorial on HTML[By TopBlog Pk] and hope that it will be very beneficial for you.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Look, I put here a lot of spaces but I know, Browser will ignore it.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;You cannot determine the display of HTML&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;because resized windows may create different result.&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;As you can see, all the extra lines and unnecessary spaces are removed by the browser.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhltISMGKFiLAhN653xgpu1641L93Tci7ZayhVXmoq7H8LzmYSQ6r3bvOibs5YEAXvHJLZEsuzcOzT2p5kqjHcecMimZzbMJ01sKLTeiS3nxIJ_Pn7yVg4rZlSWZEi9GGpkVQpaJVLHRGGm/s1280/Basic+HTML+By+TopBlog+Pk+8.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhltISMGKFiLAhN653xgpu1641L93Tci7ZayhVXmoq7H8LzmYSQ6r3bvOibs5YEAXvHJLZEsuzcOzT2p5kqjHcecMimZzbMJ01sKLTeiS3nxIJ_Pn7yVg4rZlSWZEi9GGpkVQpaJVLHRGGm/s320/Basic+HTML+By+TopBlog+Pk+8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/1087161174904597981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1087161174904597981'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1087161174904597981'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-8.html' title='Learn Basic HTML Complete Course part 8'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhltISMGKFiLAhN653xgpu1641L93Tci7ZayhVXmoq7H8LzmYSQ6r3bvOibs5YEAXvHJLZEsuzcOzT2p5kqjHcecMimZzbMJ01sKLTeiS3nxIJ_Pn7yVg4rZlSWZEi9GGpkVQpaJVLHRGGm/s72-c/Basic+HTML+By+TopBlog+Pk+8.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-5073277733546577267</id><published>2020-10-15T23:38:00.004-07:00</published><updated>2020-12-08T04:35:48.125-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 9</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Anchor&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;HTML anchor tag&lt;/span&gt;&amp;nbsp;defines a hyperlink that links one page to another page. It can create &lt;b&gt;hyperlink&lt;/b&gt; to other web page as well as files, location, or any URL. The &quot;&lt;b&gt;href&lt;/b&gt;&quot; attribute is the most important attribute of the HTML a tag. and which links to destination page or URL.&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;href attribute of HTML anchor tag&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The &lt;b&gt;href attribute&lt;/b&gt; is used to define the &lt;b&gt;address&lt;/b&gt; of the file to be &lt;b&gt;linked&lt;/b&gt;. In other words, it points out the destination page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The &lt;b&gt;syntax&lt;/b&gt; of HTML anchor tag is given below.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;a href = &quot;...........&quot;&amp;gt; Link Text &amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Specify a location for Link using target attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;If we want to open that &lt;b&gt;link&lt;/b&gt; to another &lt;b&gt;page&lt;/b&gt; then we can use &lt;b&gt;target attribute&lt;/b&gt; of&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;tag. With the help of this &lt;b&gt;link&lt;/b&gt; will be open in &lt;b&gt;next&lt;/b&gt; page.&lt;/a&gt;&lt;/p&gt;&lt;a style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;/a&gt;&lt;div&gt;&lt;a style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;/a&gt;&lt;a style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/head&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;h4&amp;gt;Display of href attribute&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;p&amp;gt;Below is the link of anchor tag, click the link and see the next page&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;	&amp;lt;a href=&quot;https://touchtogain.blogspot.com&quot; target=&quot;_blank&quot;&amp;gt;This is a link&amp;lt;/a&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/a&gt;&lt;/div&gt;output:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; padding: 10px;&quot;&gt;&lt;a style=&quot;background-color: transparent; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Display of href attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Below is the link of anchor tag, click the link and see the next page&lt;/p&gt;&lt;/a&gt;&lt;a href=&quot;https://touchtogain.blogspot.com&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;This is a link&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The &lt;b&gt;target attribute&lt;/b&gt; can only use with &lt;b&gt;href&lt;/b&gt; attribute in anchor tag.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;If we will not use &lt;b&gt;target attribute&lt;/b&gt; then link will open in same page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinwpblwWxfQfEzwt3DxULQ_bOr9ZIEuza9TgGwN2GIPymEt5pEjedT0oWgfMWaW5MRln726zkOvWe-_9W0KmAFL-04pF7AaE-iThZ64ijGaa_cJdpzCbZLh2MIOPuiCYViFPgd2iCTE-ud/s1280/Basic+HTML+By+TopBlog+Pk+9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinwpblwWxfQfEzwt3DxULQ_bOr9ZIEuza9TgGwN2GIPymEt5pEjedT0oWgfMWaW5MRln726zkOvWe-_9W0KmAFL-04pF7AaE-iThZ64ijGaa_cJdpzCbZLh2MIOPuiCYViFPgd2iCTE-ud/s320/Basic+HTML+By+TopBlog+Pk+9.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Appearance of HTML anchor tag&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;An&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;unvisited link&lt;/span&gt;&amp;nbsp;is displayed underlined and blue.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;A&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;visited link&lt;/span&gt;&amp;nbsp;displayed underlined and purple.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;An&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;active link&lt;/span&gt;&amp;nbsp;is underlined and red.&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/5073277733546577267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-9.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5073277733546577267'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5073277733546577267'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-9.html' title='Learn Basic HTML Complete Course part 9'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinwpblwWxfQfEzwt3DxULQ_bOr9ZIEuza9TgGwN2GIPymEt5pEjedT0oWgfMWaW5MRln726zkOvWe-_9W0KmAFL-04pF7AaE-iThZ64ijGaa_cJdpzCbZLh2MIOPuiCYViFPgd2iCTE-ud/s72-c/Basic+HTML+By+TopBlog+Pk+9.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-2137488234204535207</id><published>2020-10-15T07:13:00.002-07:00</published><updated>2020-12-08T04:35:48.121-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 10</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Image&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML img tag is used to display &lt;b&gt;image&lt;/b&gt; on the web page. HTML img tag is an &lt;b&gt;empty&lt;/b&gt; tag that contains attributes only, closing tags are not used in HTML image element.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Let&#39;s see an example of HTML image.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Attributes of HTML img tag&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;1) src&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;It is a necessary attribute that describes the &lt;b&gt;source&lt;/b&gt; or &lt;b&gt;fileName&lt;/b&gt; of the image. It instructs the browser where to look for the image on the server.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The location of image may be on the same directory or another server.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;2) alt&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The &lt;b&gt;alt&lt;/b&gt; attribute defines an alternate text for the image, if it can&#39;t be displayed. The value of the alt attribute describe the image in words. The alt attribute is considered good for SEO prospective.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;3) width&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;It is an optional attribute which is used to specify the &lt;b&gt;width&lt;/b&gt; to display the image. It is not recommended now. You should apply CSS in place of width attribute.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;4) height&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;It &lt;b&gt;h4&lt;/b&gt; the height of the image. The HTML &lt;b&gt;height&lt;/b&gt; attribute also supports iframe, image and object elements. It is not recommended now. You should apply CSS in place of height attribute.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Example of src attribute&amp;lt;/h1&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;HTML images can be diplayed with the help of image tag and &lt;br /&gt;
			its attribute src gives the sourc for that image&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src=&quot;../image/img98.png&quot; height=&quot;200&quot; width=&quot;300&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&lt;h1 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example of src attribute&lt;/h1&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;HTML images can be diplayed with the help of image tag and its attribute src gives the sourc for that image&lt;/p&gt;😊&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Your Image will be displayed here&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; 😊&lt;/span&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Always try to insert the image with height and width, else it may flicker while displaying on webpage.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;How to get image from another directory/folder?&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;To &lt;b&gt;insert&lt;/b&gt; an &lt;b&gt;image&lt;/b&gt; in your web, that image must be present in your same &lt;b&gt;folder&lt;/b&gt; where you have &lt;b&gt;put&lt;/b&gt; the HTML file. But if in some case image is &lt;b&gt;available&lt;/b&gt; in some other directory then you can access the image like this:&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;img src=&quot;E:/images/animal.png&quot; height=&quot;180&quot; width=&quot;300&quot;&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;
	&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;In above statement we have put image in local disk &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;E&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;&amp;gt;&amp;gt; &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;images&lt;/b&gt; &lt;b style=&quot;color: #212529;&quot;&gt;folder&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; &amp;gt;&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;topblogpk.png &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;or&lt;/span&gt;&lt;span style=&quot;color: #212529;&quot;&gt; anyname.png &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;as you have.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;note&quot; style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;If src URL will be &lt;b&gt;incorrect&lt;/b&gt; or &lt;b&gt;misspell&lt;/b&gt; then it will not &lt;b&gt;display&lt;/b&gt; your image on &lt;b&gt;web page&lt;/b&gt;, so try to put &lt;b&gt;correct&lt;/b&gt; URL.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77Iyz6WQn_FSxfy7Bx31Yf8UQwICi0CHbaxceyJ5HsqZkofCarMj6cYhaSiPXnRWHvTYf91dQCFtaRUkwIiVCvgi0E28DD3fm5SZRFSm5fcMBBMB038ZW-yjKJU7WNbgYvLZEGL3vDch2/s1280/Basic+HTML+By+TopBlog+Pk+10.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77Iyz6WQn_FSxfy7Bx31Yf8UQwICi0CHbaxceyJ5HsqZkofCarMj6cYhaSiPXnRWHvTYf91dQCFtaRUkwIiVCvgi0E28DD3fm5SZRFSm5fcMBBMB038ZW-yjKJU7WNbgYvLZEGL3vDch2/s320/Basic+HTML+By+TopBlog+Pk+10.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/2137488234204535207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2137488234204535207'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2137488234204535207'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-10.html' title='Learn Basic HTML Complete Course part 10'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77Iyz6WQn_FSxfy7Bx31Yf8UQwICi0CHbaxceyJ5HsqZkofCarMj6cYhaSiPXnRWHvTYf91dQCFtaRUkwIiVCvgi0E28DD3fm5SZRFSm5fcMBBMB038ZW-yjKJU7WNbgYvLZEGL3vDch2/s72-c/Basic+HTML+By+TopBlog+Pk+10.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-7160709501070654102</id><published>2020-10-15T06:58:00.002-07:00</published><updated>2020-12-08T04:35:48.127-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 11</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Table&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML table tag is used to &lt;b&gt;display&lt;/b&gt; data in tabular form (row * column). There can be many columns in a row.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;We can create a table to display data in tabular form, using &amp;lt;table&amp;gt; element, with the help of &lt;b&gt;&amp;lt;tr&amp;gt; &lt;/b&gt;,&lt;b&gt; &amp;lt;td&amp;gt;&lt;/b&gt;, and &lt;b&gt;&amp;lt;th&amp;gt;&lt;/b&gt; elements.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;In Each table, &lt;b&gt;table row&lt;/b&gt; is defined by &lt;b&gt;&amp;lt;tr&amp;gt;&lt;/b&gt; tag, &lt;b&gt;table header&lt;/b&gt; is defined by &lt;b&gt;&amp;lt;th&amp;gt;&lt;/b&gt;, and &lt;b&gt;table data is defined&lt;/b&gt; by &lt;b&gt;&amp;lt;td&amp;gt;&lt;/b&gt; tags.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;HTML tables are used to &lt;b&gt;manage&lt;/b&gt; the &lt;b&gt;layout&lt;/b&gt; of the page &lt;b&gt;&lt;i&gt;e.g&lt;/i&gt;&lt;/b&gt;. header section, navigation bar, body content, footer section etc. But it is recommended to use &lt;b&gt;div&lt;/b&gt; tag over table to &lt;b&gt;manage&lt;/b&gt; the layout of the page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Table Tags&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;table align=&quot;center&quot; id=&quot;orange&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: center; width: 300px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px; text-align: left; width: 300px;&quot;&gt;Tag&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px; text-align: left; width: 300px;&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;table&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It defines a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;tr&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It defines a row in a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;th&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It defines a header cell in a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;td&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It defines a cell in a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;caption&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It defines the table caption.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;colgroup&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It specifies a group of one or more columns in a table for formatting.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;col&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It is used with &amp;lt;colgroup&amp;gt; element to specify column properties for each column.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;tbody&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It is used to group the body content in a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;thead&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It is used to group the header content in a table.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;&amp;lt;tfooter&amp;gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;It is used to group the footer content in a table.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Table Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;table border=&quot;1px&quot; cellpadding=&quot;10px&quot; width=&quot;100%&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Branch&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Semester&amp;lt;/th&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Mubassir Ali&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;CS&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Nasir Ali&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Physics&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Azlan Khan&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Civil&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Haseeb Khan&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;EC&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 300px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Branch&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Semester&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mubassir Ali&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;CS&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;5&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Nasir Ali&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Physics&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Azlan Khan&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Civil&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Haseeb Khan&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;EC&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Table Attributes&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML Attributes are assign by two methods :&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;1) Using HTML Attribute&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;2) By CSS Property&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Various attributes of table tag are descibe below :&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;1) Table Border&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;You can use &lt;b&gt;border&lt;/b&gt; attribute of table tag in HTML to specify border. But it is not recommended now.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;2) Cell padding&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;You can specify &lt;b&gt;padding&lt;/b&gt; for table header and table data by using cell padding. The cellpadding attribute of HTML table tag is obselete now.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;3) Width&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;We can specify the HTML table &lt;b&gt;width&lt;/b&gt; using the CSS width property. It can be specify in pixels or percentage.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Table Example by tag attribute&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Example :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;table border=&quot;1px&quot; cellpadding=&quot;10px&quot; width=&quot;100%&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Branch&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Semester&amp;lt;/th&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Atif&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;CE&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Mubassir&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;IT&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Nasir&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Civil&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Ali&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;EC&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table border=&quot;1px&quot; cellpadding=&quot;10px&quot; style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 100%px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Branch&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Semester&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Atif&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;CE&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;5&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mubassir&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;IT&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Nasir&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Civil&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Ali&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;EC&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Table Example by CSS Property&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table, th, td {&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp; text-align: center;&lt;br /&gt;
	&amp;nbsp;&amp;nbsp; width: 300px;&lt;br /&gt;
	&amp;nbsp;&amp;nbsp; border: 1px solid black;&lt;br /&gt;
	&amp;nbsp;&amp;nbsp; border-collapse: collapse;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; th, td {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 10px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Branch&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Semester&amp;lt;/th&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Mansoor&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;CE&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Haleem&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;IT&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Haseeb&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Civil&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Azlan&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;EC&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output3&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 300px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Branch&lt;/th&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Semester&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mansoor&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;BBA&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;5&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Haleem&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;IT&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Haseeb&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Civil&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Azlan&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;EC&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Table with colspan&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;If you want to make a cell span more than one column, you can use the colspan attribute.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;It will divide one cell/row into multiple columns, and the number of columns depend on the value of colspan attribute.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b style=&quot;color: #212529;&quot;&gt;Let&#39;s see the &lt;/b&gt;&lt;span style=&quot;color: red;&quot;&gt;example&lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt; that span two columns&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table, th, td {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 1px solid black;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-collapse: collapse;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; th,td {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 5px;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: left;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table style=&quot;width:100%&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th colspan=&quot;2&quot;&amp;gt;Mobile No.&amp;lt;/th&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;Mubassir Ali&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;923063855&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;923451590&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output4&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 319px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;th colspan=&quot;2&quot; style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mobile No.&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mubassir&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ali&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;923063855&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;923451590&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Table with rowspan&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;If you want to make a cell span more than one row, you can use the rowspan attribute.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;It will divide a cell into multiple rows. The number of divided rows will depend on rowspan values.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Let&#39;s see the example that span two rows.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table, th, td {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 1px solid black;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-collapse: collapse;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
		&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; th,td {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 5px;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: left;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table style=&quot;width:100%&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th colspan=&quot;2&quot;&amp;gt;Mobile No.&amp;lt;/th&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;Mubassir Ali&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;923063855&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;923451590&amp;lt;/td&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output5&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 300px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mubassir Ali&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th rowspan=&quot;2&quot; style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mobile No.&lt;/th&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;923063855&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;923451590&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Styling HTML table even and odd cells&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 12px;&quot;&gt;Example :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
	&amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
	table, th, td {&amp;nbsp; &lt;br /&gt;
		border: 1px solid black;&amp;nbsp; &lt;br /&gt;
		border-collapse: collapse;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp; &lt;br /&gt;
	th, td {&amp;nbsp; &lt;br /&gt;
		padding: 10px;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp; &lt;br /&gt;
	table#alter tr:nth-child(even) {&amp;nbsp; &lt;br /&gt;
		background-color: #eee;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp; &lt;br /&gt;
	table#alter tr:nth-child(odd) {&amp;nbsp; &lt;br /&gt;
		background-color: #fff;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp; &lt;br /&gt;
	table#alter th {&amp;nbsp; &lt;br /&gt;
		color: white;&amp;nbsp; &lt;br /&gt;
		background-color: gray;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp; &lt;br /&gt;
	&amp;lt;/style&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table id=&quot;alter&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Branch&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Semester&amp;lt;/th&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;		&amp;lt;td&amp;gt;Mubassir&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;CS&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;		&amp;lt;td&amp;gt;Nasir&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Physics&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;		&amp;lt;td&amp;gt;Haleem&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;Civil&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1em;&quot;&gt;		&amp;lt;td&amp;gt;Haseeb&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;EC&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;/tr&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output6&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;table id=&quot;alter&quot; style=&quot;border-collapse: collapse; border: 1px solid black; text-align: center; width: 300px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: grey; border-collapse: collapse; border: 1px solid black; box-sizing: border-box; color: white; padding: 10px; text-align: left; width: 300px;&quot;&gt;Name&lt;/th&gt;&lt;th style=&quot;background-color: grey; border-collapse: collapse; border: 1px solid black; box-sizing: border-box; color: white; padding: 10px; text-align: left; width: 300px;&quot;&gt;Branch&lt;/th&gt;&lt;th style=&quot;background-color: grey; border-collapse: collapse; border: 1px solid black; box-sizing: border-box; color: white; padding: 10px; text-align: left; width: 300px;&quot;&gt;Semester&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #eeeeee; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Mubassir&amp;nbsp;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;CS&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;5&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Nasir&amp;nbsp;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Physics&amp;nbsp;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #eeeeee; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Haleem&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Civil&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;Haseeb&amp;nbsp;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;EC&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid black; box-sizing: border-box; padding: 10px; text-align: left; width: 300px;&quot;&gt;7&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswH8Es_aVuGzoDzvbGEI-49G18J3DstK3cRkHfudYAvchqBfB2V9XbtnzOpOFvWlzZOUgzy_a8w6ojgocXVg0AH0xAvcV0SoWM2FF90NUEggfw2JJE0ojjtLC2OEU-MnfY-Fmhemyftf1/s1280/Basic+HTML+By+TopBlog+Pk+11.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswH8Es_aVuGzoDzvbGEI-49G18J3DstK3cRkHfudYAvchqBfB2V9XbtnzOpOFvWlzZOUgzy_a8w6ojgocXVg0AH0xAvcV0SoWM2FF90NUEggfw2JJE0ojjtLC2OEU-MnfY-Fmhemyftf1/s320/Basic+HTML+By+TopBlog+Pk+11.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/7160709501070654102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7160709501070654102'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7160709501070654102'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-11.html' title='Learn Basic HTML Complete Course part 11'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswH8Es_aVuGzoDzvbGEI-49G18J3DstK3cRkHfudYAvchqBfB2V9XbtnzOpOFvWlzZOUgzy_a8w6ojgocXVg0AH0xAvcV0SoWM2FF90NUEggfw2JJE0ojjtLC2OEU-MnfY-Fmhemyftf1/s72-c/Basic+HTML+By+TopBlog+Pk+11.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-8968304470947787749</id><published>2020-10-15T06:26:00.003-07:00</published><updated>2020-12-08T04:35:48.128-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 12</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Lists&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;HTML Lists&lt;/b&gt; are used to specify &lt;b&gt;lists&lt;/b&gt; of information. All &lt;b&gt;lists&lt;/b&gt; may contain one or more &lt;b&gt;list&lt;/b&gt; elements.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;There are three different types of HTML lists:&lt;/b&gt;&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Ordered List or Numbered List (&lt;b&gt;ol&lt;/b&gt;)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Unordered List or Bulleted List (&lt;b&gt;ul&lt;/b&gt;)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Description List or Definition List (&lt;b&gt;dl&lt;/b&gt;)&lt;/li&gt;&lt;/ol&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Ordered List or Numbered List&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In the &lt;b&gt;ordered HTML lists&lt;/b&gt;, all the list items are marked with &lt;b&gt;numbers&lt;/b&gt; by default. It is known as numbered list also. The &lt;b&gt;ordered list&lt;/b&gt; starts with &lt;b&gt;&amp;lt;ol&amp;gt;&lt;/b&gt; tag and the &lt;b&gt;list items&lt;/b&gt; start with &lt;b&gt;&amp;lt;li&amp;gt;&lt;/b&gt; tag.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Unordered List or Bulleted List&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In HTML Unordered list, all the list items are marked with bullets. It is also known as bulleted list also. The &lt;i&gt;Unordered list&lt;/i&gt; starts with&lt;b&gt; &amp;lt;ul&amp;gt; &lt;/b&gt;tag and list items start with the&lt;b&gt; &amp;lt;li&amp;gt; &lt;/b&gt;tag.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;color: #dd5722;&quot;&gt;HTML Description List &lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;or&lt;/span&gt;&lt;span style=&quot;color: #dd5722;&quot;&gt; Definition List&lt;/span&gt;&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML Description list is also a list style which is supported by &lt;b&gt;HTML&lt;/b&gt; and &lt;b&gt;XHTML&lt;/b&gt;. It is also known as &lt;b&gt;definition list&lt;/b&gt; where &lt;b&gt;entries&lt;/b&gt; are listed like a &lt;b&gt;dictionary&lt;/b&gt; or &lt;b&gt;encyclopedia&lt;/b&gt;.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The &lt;b&gt;definition list &lt;/b&gt;is very appropriate when you want to &lt;b&gt;present&lt;/b&gt; glossary, list of terms or other name-value list.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;The HTML definition list contains following three tags&lt;/b&gt;:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;b&gt;&amp;lt;dl&amp;gt; &lt;/b&gt;tag &lt;b&gt;defines&lt;/b&gt; the &lt;i&gt;start&lt;/i&gt; of the &lt;b&gt;list&lt;/b&gt;.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;b&gt;&amp;lt;dt&amp;gt;&lt;/b&gt; tag &lt;b&gt;defines&lt;/b&gt; a &lt;b&gt;term&lt;/b&gt;.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;b&gt;&amp;lt;dd&amp;gt;&lt;/b&gt; tag &lt;b&gt;defines&lt;/b&gt; the term &lt;b&gt;definition&lt;/b&gt; (description).&lt;/li&gt;&lt;/ol&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example of all HTML List&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;Ordered List : &amp;lt;/h4&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ol&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;li&amp;gt;Aries&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;li&amp;gt;Bingo&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;li&amp;gt;Leo&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;li&amp;gt;Oracle&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ol&amp;gt;&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;h4&amp;gt;Unordered List&amp;lt;/h4&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul&amp;gt;&amp;nbsp; &lt;br /&gt;
		 &amp;lt;li&amp;gt;Aries&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		 &amp;lt;li&amp;gt;Bingo&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		 &amp;lt;li&amp;gt;Leo&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
		 &amp;lt;li&amp;gt;Oracle&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&amp;nbsp; &lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;h4&amp;gt;Description List&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;dl&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dt&amp;gt;Aries&amp;lt;/dt&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dd&amp;gt;-One of the 12 horoscope sign.&amp;lt;/dd&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dt&amp;gt;Bingo&amp;lt;/dt&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dd&amp;gt;-One of my evening snacks&amp;lt;/dd&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dt&amp;gt;Leo&amp;lt;/dt&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dd&amp;gt;-It is also an one of the 12 horoscope sign.&amp;lt;/dd&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dt&amp;gt;Oracle&amp;lt;/dt&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &amp;lt;dd&amp;gt;-It is a multinational technology corporation.&amp;lt;/dd&amp;gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/dl&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;Output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Ordered List :&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Aries&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Bingo&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Leo&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Oracle&lt;/li&gt;&lt;/ol&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unordered List&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Aries&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Bingo&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Leo&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Oracle&lt;/li&gt;&lt;/ul&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Description List&lt;/h4&gt;&lt;dl style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;dt style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Aries&lt;/dt&gt;&lt;dd style=&quot;box-sizing: border-box; margin-bottom: 0.5rem; margin-left: 0px;&quot;&gt;-One of the 12 horoscope sign.&lt;/dd&gt;&lt;dt style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Bingo&lt;/dt&gt;&lt;dd style=&quot;box-sizing: border-box; margin-bottom: 0.5rem; margin-left: 0px;&quot;&gt;-One of my evening snacks&lt;/dd&gt;&lt;dt style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Leo&lt;/dt&gt;&lt;dd style=&quot;box-sizing: border-box; margin-bottom: 0.5rem; margin-left: 0px;&quot;&gt;-It is also an one of the 12 horoscope sign.&lt;/dd&gt;&lt;dt style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Oracle&lt;/dt&gt;&lt;dd style=&quot;box-sizing: border-box; margin-bottom: 0.5rem; margin-left: 0px;&quot;&gt;-It is a multinational technology corporation.&lt;/dd&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/dl&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJpipAgvdeVpxxIU9ZkiO9X8lrp7KTD0uxHarWcR52ceO2J1UFK6e7Fe3_2h8hwS6QAdVJWH4nZZfdhrDjvGp-UgosBYejm5jbs75k-HE5VpBya-1K_Z8tSBDRQbZQVyAkYsae5E3SMtKB/s1280/Basic+HTML+By+TopBlog+Pk+12.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJpipAgvdeVpxxIU9ZkiO9X8lrp7KTD0uxHarWcR52ceO2J1UFK6e7Fe3_2h8hwS6QAdVJWH4nZZfdhrDjvGp-UgosBYejm5jbs75k-HE5VpBya-1K_Z8tSBDRQbZQVyAkYsae5E3SMtKB/s320/Basic+HTML+By+TopBlog+Pk+12.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/8968304470947787749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8968304470947787749'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8968304470947787749'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-12.html' title='Learn Basic HTML Complete Course part 12'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJpipAgvdeVpxxIU9ZkiO9X8lrp7KTD0uxHarWcR52ceO2J1UFK6e7Fe3_2h8hwS6QAdVJWH4nZZfdhrDjvGp-UgosBYejm5jbs75k-HE5VpBya-1K_Z8tSBDRQbZQVyAkYsae5E3SMtKB/s72-c/Basic+HTML+By+TopBlog+Pk+12.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-2839231218320974009</id><published>2020-10-15T06:16:00.003-07:00</published><updated>2020-12-08T04:35:48.122-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 13</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Ordered List | HTML Numbered List&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;HTML Ordered List&lt;/span&gt;&amp;nbsp;or &lt;b&gt;Numbered List &lt;/b&gt;displays elements in &lt;b&gt;numbered&lt;/b&gt; format. The HTML &lt;b&gt;ol&lt;/b&gt; tag is used for ordered list. We can use &lt;b&gt;ordered list&lt;/b&gt; to represent items either in numerical order format or alphabetical order format, or any format where an order is emphasized. There can be different &lt;b&gt;types&lt;/b&gt; of numbered list:&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Numeric Number (1, 2, 3)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Capital Roman Number (I II III)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Small Roman&amp;nbsp; Number (i ii iii)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Capital Alphabet (A B C)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Small Alphabet (a b c)&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;To represent different ordered lists, there are &lt;b&gt;5&lt;/b&gt; types of attributes in&lt;b&gt; &amp;lt;ol&amp;gt;&lt;/b&gt; tag.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;table id=&quot;green&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #70ad47; border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Type&lt;/th&gt;&lt;th style=&quot;background-color: #70ad47; border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #e2efd9; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;1&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;This is the default type. In this type, the list items are numbered with numbers.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;I&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;In this type, the list items are numbered with upper case roman numbers.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #e2efd9; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;i&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;In this type, the list items are numbered with lower case roman numbers.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;A&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;In this type, the list items are numbered with upper case letters.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #e2efd9; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;a&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(168, 208, 141); box-sizing: border-box; padding: 10px;&quot;&gt;In this type, the list items are numbered with lower case letters.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Start attribute&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;The &lt;b&gt;start attribute&lt;/b&gt; is used with &lt;b&gt;ol&lt;/b&gt; tag to specify from where to &lt;b&gt;start&lt;/b&gt; the list items.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;lt;ol type=&quot;1&quot; start=&quot;5&quot;&amp;gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;: It will show &lt;b&gt;numeric values&lt;/b&gt; starting with &quot;5&quot;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&amp;lt;ol type=&quot;A&quot; start=&quot;5&quot;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; : It will show &lt;b&gt;capital alphabets&lt;/b&gt; starting with &quot;E&quot;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&amp;lt;ol type=&quot;a&quot; start=&quot;5&quot;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; : It will show &lt;b&gt;lower case alphabets&lt;/b&gt; starting with &quot;e&quot;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;lt;ol type=&quot;I&quot; start=&quot;5&quot;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; : It will show &lt;b&gt;Roman upper case&lt;/b&gt; value starting with &quot;V&quot;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&amp;lt;ol type=&quot;i&quot; start=&quot;5&quot;&amp;gt;&lt;/span&gt; &lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;: It will show &lt;b&gt;Roman lower case&lt;/b&gt; value starting with &quot;v&quot;.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Reversed Attribute:&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;This is a Boolean attribute of HTML tag, and it is new in &lt;b&gt;HTML5&lt;/b&gt; version. If you use the &lt;b&gt;reversed attribute&lt;/b&gt; with tag then it will numbered the list in &lt;b&gt;descending&lt;/b&gt; order (7, 6, 5, 4......1).&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Orderlist Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List of type &quot;I&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol type=&quot;I&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List of type &quot;i&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol type=&quot;i&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List of type &quot;A&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol type=&quot;A&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List of type &quot;a&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol type=&quot;a&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Order List by predefine starting&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol type=&quot;i&quot; start=&quot;5&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ol&amp;gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Reverse order list&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ol reversed&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ol&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List of type &quot;I&quot;&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;I&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List of type &quot;i&quot;&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;i&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List of type &quot;A&quot;&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;A&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List of type &quot;a&quot;&lt;/h4&gt;&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;a&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Order List by predefine starting&lt;/h4&gt;&lt;ol start=&quot;5&quot; style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;i&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ol&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Reverse order list&lt;/h4&gt;&lt;ol reversed=&quot;&quot; style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleUbud_kYM4xZ1Wx5LUYosGuEoZqk9Tb7xwSPstmO3qZlMKNmaipVBW5NtvIExwanni0Diy2AFh3Qtv7ScTobnATwi2HxxEi0z7kbP9KbbW2zWXN7AtzPH6dueUo6vW1-bfdiAxUqS_O0/s1280/Basic+HTML+By+TopBlog+Pk+13.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleUbud_kYM4xZ1Wx5LUYosGuEoZqk9Tb7xwSPstmO3qZlMKNmaipVBW5NtvIExwanni0Diy2AFh3Qtv7ScTobnATwi2HxxEi0z7kbP9KbbW2zWXN7AtzPH6dueUo6vW1-bfdiAxUqS_O0/s320/Basic+HTML+By+TopBlog+Pk+13.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/2839231218320974009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2839231218320974009'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/2839231218320974009'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-13.html' title='Learn Basic HTML Complete Course part 13'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleUbud_kYM4xZ1Wx5LUYosGuEoZqk9Tb7xwSPstmO3qZlMKNmaipVBW5NtvIExwanni0Diy2AFh3Qtv7ScTobnATwi2HxxEi0z7kbP9KbbW2zWXN7AtzPH6dueUo6vW1-bfdiAxUqS_O0/s72-c/Basic+HTML+By+TopBlog+Pk+13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-4779681379727556551</id><published>2020-10-15T05:38:00.005-07:00</published><updated>2020-12-08T04:35:48.124-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 14</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Unordered List | HTML Bulleted List&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;HTML Unordered&lt;/span&gt;&amp;nbsp;List or Bulleted List displays elements in &lt;b&gt;bulleted (▫️)&amp;nbsp;&lt;/b&gt;format . We can use unordered list where we do not need to display items in any particular order. The HTML &lt;b&gt;ul&lt;/b&gt; tag is used for the unordered list.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;There can be 4 types of bulleted list:&lt;/b&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;disc&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;circle&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;square&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;none&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;To represent different &lt;b&gt;ordered lists&lt;/b&gt;, there are &lt;b&gt;4&lt;/b&gt; types of attributes in&lt;b&gt; &amp;lt;ul&amp;gt; &lt;/b&gt;tag.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;table id=&quot;blue&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #5b9bd5; border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Type&lt;/th&gt;&lt;th style=&quot;background-color: #5b9bd5; border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;disc&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;This is the default style. In this style, the list items are marked with bullets.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;circle&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;In this style, the list items are marked with circles.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #deeaf6; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;square&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;In this style, the list items are marked with squares.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;Type &quot;none&quot;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(156, 194, 229); box-sizing: border-box; padding: 10px;&quot;&gt;In this style, the list items are not marked .&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;lt;body&amp;gt; &lt;br /&gt;
	&amp;lt;h4&amp;gt;Unorder list of type=&quot;none&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ul type=&quot;none&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ul&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Unorder list of default type&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ul&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ul&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Unorder list of type=&quot;square&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ul type=&quot;square&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ul&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;h4&amp;gt;Unorder list of type=&quot;circle&quot;&amp;lt;/h4&amp;gt;&lt;br /&gt;
	&amp;lt;ul type=&quot;circle&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;HTML&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;Java&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;JavaScript&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;li&amp;gt;SQL&amp;lt;/li&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/ul&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;Output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unorder list of type=&quot;none&quot;&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;none&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ul&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unorder list of default type&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ul&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unorder list of type=&quot;square&quot;&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;square&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;/ul&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Unorder list of type=&quot;circle&quot;&lt;/h4&gt;&lt;ul style=&quot;box-sizing: border-box; list-style-type: square; margin-bottom: 1rem; margin-top: 0px;&quot; type=&quot;circle&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;HTML&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Java&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;SQL&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLalEgUKfExv9E6uuANYAz_LsOWYE2jW7LXTA7LwzQXo6igzhcX5wTDZWmsaOKBDWFp_kwQll2DPDeoXWIdimZR31gOkAS94Hci-o5I1roNCHvMjHmmLjKI6XzCqq0mnKHISHJ3a1Ou8eA/s1280/Basic+HTML+By+TopBlog+Pk+14.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLalEgUKfExv9E6uuANYAz_LsOWYE2jW7LXTA7LwzQXo6igzhcX5wTDZWmsaOKBDWFp_kwQll2DPDeoXWIdimZR31gOkAS94Hci-o5I1roNCHvMjHmmLjKI6XzCqq0mnKHISHJ3a1Ou8eA/s320/Basic+HTML+By+TopBlog+Pk+14.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/4779681379727556551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4779681379727556551'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4779681379727556551'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-14.html' title='Learn Basic HTML Complete Course part 14'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLalEgUKfExv9E6uuANYAz_LsOWYE2jW7LXTA7LwzQXo6igzhcX5wTDZWmsaOKBDWFp_kwQll2DPDeoXWIdimZR31gOkAS94Hci-o5I1roNCHvMjHmmLjKI6XzCqq0mnKHISHJ3a1Ou8eA/s72-c/Basic+HTML+By+TopBlog+Pk+14.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-1130021399743251948</id><published>2020-10-15T03:45:00.003-07:00</published><updated>2020-12-08T04:35:48.120-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 15</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML style using CSS&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Let&#39;s suppose we have &lt;b&gt;created&lt;/b&gt; our &lt;b&gt;web page&lt;/b&gt; using a simple HTML code, and we want something which can present our page in a correct format, and visibly attractive. So to do this, we can &lt;b&gt;style&lt;/b&gt; our web page with CSS (&lt;b&gt;Cascading Stylesheet&lt;/b&gt;) properties.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;CSS is used to apply the &lt;b&gt;style&lt;/b&gt; in the &lt;b&gt;web page&lt;/b&gt; which is made up of HTML elements. It &lt;b&gt;describes&lt;/b&gt; the look of the &lt;b&gt;webpage&lt;/b&gt;.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;CSS provides &lt;b&gt;various&lt;/b&gt; style properties&amp;nbsp; &lt;b&gt;such as&lt;/b&gt; background color, padding, margin, border-color, and many more, to style a webpage.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Each property in CSS has a name-value pair, and each property is separated by a &lt;b&gt;semicolon&lt;/b&gt; (;).&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;🔺In this chapter, we have given a small overview of CSS. You will learn everything in &lt;b&gt;depth&lt;/b&gt; about &lt;b&gt;CSS&lt;/b&gt; in our CSS tutorial.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Best Example as:&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;html lang=&quot;en&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp; 	&amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;nbsp; 	&amp;lt;h4 style=&quot;color: red;&quot;&amp;gt;Welcome to TopBlog Pk. ..&amp;lt;/h4&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 	&amp;lt;p style=&quot;color: blue; font-size: 25px; font-style: italic ;&quot;&amp;gt;It is a great Blog to Learn HTML and CSS technology. &amp;lt;/p&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Welcome to, &lt;/span&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;TopBlog &lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;Pk&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; !&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 25px; font-style: italic; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;It is a great blog to Learn &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;HTML&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #ff00fe;&quot;&gt;CSS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: blue;&quot;&gt; technology.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In the above &lt;b&gt;example&lt;/b&gt;, we have used a style attribute to provide some styling format to our code.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Three ways/types to apply CSS&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;To use CSS with HTML document, there are &lt;b&gt;three&lt;/b&gt; ways:&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Inline CSS :&amp;nbsp;&lt;/span&gt;Define CSS properties using style attribute in the HTML elements.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Internal or Embedded CSS :&amp;nbsp;&lt;/span&gt;Define CSS using&amp;nbsp;tag in section.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;External CSS :&amp;nbsp;&lt;/span&gt;Define all CSS property in a separate .css file, and then include the file with HTML file using tag in section.&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Inline CSS :&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;Inline CSS&lt;/b&gt; is used to apply CSS in a &lt;b&gt;single&lt;/b&gt; element. It can apply style &lt;b&gt;uniquely&lt;/b&gt; in each &lt;b&gt;element&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;To apply &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px;&quot;&gt;inline CSS&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;, you need to use style attribute within HTML element. We can use as many&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; text-align: left;&quot;&gt;properties&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;as we want, but each property should be separated by a &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px;&quot;&gt;semic&lt;/b&gt;&lt;b style=&quot;color: #212529; font-family: Verdana; font-size: 12px;&quot;&gt;olon&lt;/b&gt;&lt;span style=&quot;color: #212529; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt; (;).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;html lang=&quot;en&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp; 	&amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp; 	&amp;lt;h3 style=&quot;color: red;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-style: italic;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 50px;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-top: 25px;&quot;&amp;gt;Learning HTML using Inline CSS&amp;lt;/h3&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h3 style=&quot;box-sizing: border-box; color: red; font-family: inherit; font-size: 50px; font-style: italic; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding-top: 25px; text-align: center;&quot;&gt;Learning HTML using Inline CSS&lt;/h3&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Internal CSS :&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An &lt;b&gt;Internal stylesheets&lt;/b&gt; contains the CSS properties for a webpage in &lt;b&gt;&amp;lt;head&amp;gt;&lt;/b&gt; section of HTML document. To use Internal CSS, we can use &lt;b&gt;class&lt;/b&gt; and &lt;b&gt;id&lt;/b&gt; attributes.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;We can use internal CSS to apply a style for a &lt;b&gt;single&lt;/b&gt; HTML page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
		/*Internal CSS using element name By TopBlog Pk*/&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		h4.test{font-style: italic;&amp;nbsp; &lt;br /&gt;
			font-size: 30px;&amp;nbsp; &lt;br /&gt;
			color: #f08080;} &lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;
&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		/*Internal CSS using class name By TopBlog Pk*/&amp;nbsp; &lt;br /&gt;
		.blue{color: blue;}&amp;nbsp; &lt;br /&gt;
		.red{color: red;}&amp;nbsp; &lt;br /&gt;
		.green{color: green;}&amp;nbsp; &lt;br /&gt;
	&amp;lt;/style&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;h4 class=&quot;test&quot;&amp;gt; Learning HTML with internal CSS&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;blue&quot;&amp;gt;This is a blue color paragraph&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;red&quot;&amp;gt;This is a red color paragraph&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;green&quot;&amp;gt;This is a green color paragraph&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output3&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 class=&quot;test&quot; style=&quot;box-sizing: border-box; color: lightcoral; font-family: inherit; font-size: 30px; font-style: italic; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Learning HTML with internal CSS&lt;/h4&gt;&lt;p class=&quot;blue&quot; style=&quot;box-sizing: border-box; color: blue; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a blue color paragraph&lt;/p&gt;&lt;p class=&quot;red&quot; style=&quot;box-sizing: border-box; color: red; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a red color paragraph&lt;/p&gt;&lt;p class=&quot;green&quot; style=&quot;box-sizing: border-box; color: green; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a green color paragraph&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;External CSS :&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An &lt;b&gt;external CSS&lt;/b&gt; contains a separate CSS file which only contains style code using the class name, id name, tag name, etc. We can use this CSS file in any HTML file by including it in HTML file using&lt;b&gt; &amp;lt;link&amp;gt;&lt;/b&gt; tag.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;If we have &lt;b&gt;multiple&lt;/b&gt; HTML &lt;b&gt;pages&lt;/b&gt; for an application and which use similar CSS, then we can use external CSS.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;There are &lt;b&gt;two&lt;/b&gt; files need to &lt;i&gt;create&lt;/i&gt; to apply &lt;b&gt;external CSS&lt;/b&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;First, create the &lt;b&gt;HTML&lt;/b&gt; file&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Create a &lt;b&gt;CSS&lt;/b&gt; file and &lt;b&gt;save&lt;/b&gt; it using the&lt;b&gt; .css&lt;/b&gt; extension (This file only will only contain the styling code.)&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;b&gt;Link&lt;/b&gt; the &lt;b&gt;CSS&lt;/b&gt; file in your &lt;b&gt;HTML&lt;/b&gt; file using tag in header section of HTML document.&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;external_css.css&quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/head&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;Learning HTML with External CSS&amp;lt;/h2&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;blue&quot;&amp;gt;This is a blue color paragraph&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;red&quot;&amp;gt;This is a red color paragraph&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp; &amp;lt;p class=&quot;green&quot;&amp;gt;This is a green color paragraph&amp;lt;/p&amp;gt; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output4&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Learning HTML with External CSS&lt;/h2&gt;&lt;p class=&quot;blue&quot; style=&quot;box-sizing: border-box; color: blue; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a blue color paragraph&lt;/p&gt;&lt;p class=&quot;red&quot; style=&quot;box-sizing: border-box; color: red; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a red color paragraph&lt;/p&gt;&lt;p class=&quot;green&quot; style=&quot;box-sizing: border-box; color: green; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This is a green color paragraph&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIhyphenhyphenGnL3tP1UWaCYMR0oiABXKPqwNZp9PD75ZIz86z9zHwhM4VKQ8gOuwFn9zDeax6xFoWsgUtj2TIbmOX3UI0zQnnV66weWQW_BCE7idWgyVB52CzDnm0Op8E3mSSuYmqLipEJK7Bc4P9/s1280/Basic+HTML+By+TopBlog+Pk+15.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIhyphenhyphenGnL3tP1UWaCYMR0oiABXKPqwNZp9PD75ZIz86z9zHwhM4VKQ8gOuwFn9zDeax6xFoWsgUtj2TIbmOX3UI0zQnnV66weWQW_BCE7idWgyVB52CzDnm0Op8E3mSSuYmqLipEJK7Bc4P9/s320/Basic+HTML+By+TopBlog+Pk+15.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/1130021399743251948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1130021399743251948'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/1130021399743251948'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-15.html' title='Learn Basic HTML Complete Course part 15'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIhyphenhyphenGnL3tP1UWaCYMR0oiABXKPqwNZp9PD75ZIz86z9zHwhM4VKQ8gOuwFn9zDeax6xFoWsgUtj2TIbmOX3UI0zQnnV66weWQW_BCE7idWgyVB52CzDnm0Op8E3mSSuYmqLipEJK7Bc4P9/s72-c/Basic+HTML+By+TopBlog+Pk+15.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-4013006889398093489</id><published>2020-10-15T03:22:00.005-07:00</published><updated>2020-12-08T04:35:48.123-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 16</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;HTML Classes&lt;/span&gt;&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Class Attribute in HTML&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #212529;&quot;&gt;The &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;HTML class&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; attribute is used to specify a single or multiple class names for an HTML element. The &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;class&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; name can be used by &lt;b&gt;CSS&lt;/b&gt; and &lt;b&gt;JavaScript&lt;/b&gt; to do some tasks for HTML elements. You can use this class in CSS with a specific class, write a period &lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt;dot&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt;(.) character, followed by the name of the class for selecting elements.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;A class attribute can be defined within&lt;/span&gt;&lt;b style=&quot;color: #212529;&quot;&gt; &amp;lt;style&amp;gt;&lt;/b&gt;&lt;span style=&quot;color: #212529;&quot;&gt; tag or in separate file using the (.) character.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span style=&quot;color: #212529;&quot;&gt;In an HTML document, we can use the &lt;b&gt;same&lt;/b&gt; class attribute name with different elements.&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;We have define style for a &lt;b&gt;class name&lt;/b&gt; &quot;headings&quot;, and we can use this class name with any of HTML element in which we want to provide such styling. We just need to follow the following syntax to use it.&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;tag class=&quot;ghf&quot;&amp;gt; content &amp;lt;/tag&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
		.headings{&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			color: lightgreen;&amp;nbsp; &lt;br /&gt;
			font-family: cursive;&amp;nbsp; &lt;br /&gt;
			background-color: black; }&amp;nbsp; &lt;br /&gt;
		&amp;lt;/style&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/head&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h1 class=&quot;headings&quot;&amp;gt;This is first heading&amp;lt;/h1&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2 class=&quot;headings&quot;&amp;gt;This is Second heading&amp;lt;/h2&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h3 class=&quot;headings&quot;&amp;gt;This is third heading&amp;lt;/h3&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h4 class=&quot;headings&quot;&amp;gt;This is fourth heading&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h1 class=&quot;headings&quot; style=&quot;background-color: black; box-sizing: border-box; color: lightgreen; font-family: cursive; font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;This is first heading On TopBlog Pk&lt;/h1&gt;&lt;h2 class=&quot;headings&quot; style=&quot;background-color: black; box-sizing: border-box; color: lightgreen; font-family: cursive; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;This is Second heading On TopBlog Pk&lt;/h2&gt;&lt;h3 class=&quot;headings&quot; style=&quot;background-color: black; box-sizing: border-box; color: lightgreen; font-family: cursive; font-size: 1.75rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;This is third heading On TopBlog Pk&lt;/h3&gt;&lt;h4 class=&quot;headings&quot; style=&quot;background-color: black; box-sizing: border-box; color: lightgreen; font-family: cursive; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;This is fourth heading On TopBlog Pk&lt;/h4&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Another Example with different class name&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html lang=&quot;en&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp; 	&amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	.fruit {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: orange;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; color: white;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 10px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp; 	&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Mango&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;p&amp;gt;Mango is king of all fruits.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Orange&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;p&amp;gt;Oranges are full of Vitamin C.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Apple&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;p&amp;gt;An apple a day, keeps the Doctor away.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Mango&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Mango is king of all fruits.&lt;/p&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Orange&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Oranges are full of Vitamin C.&lt;/p&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Apple&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;An apple a day, keeps the Doctor away.&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;🔺You can use class attribute on any HTML element. The class name is case-sensitive.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Multiple Classes&lt;/h4&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		.fruit {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: orange;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; color: white;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 10px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		.center {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;/style&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;	&amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2&amp;gt;Multiple Classes&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p&amp;gt;All three elements have the class name &quot;fruit&quot;. In addition, Mango also have the class name &quot;center&quot;, which center-aligns the text.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2 class=&quot;fruit center&quot;&amp;gt;Mango&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Orange&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Apple&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 	&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output3&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Multiple Classes&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;All three elements have the class name &quot;fruit&quot;. In addition, Mango also have the class name &quot;center&quot;, which center-aligns the text.&lt;/p&gt;&lt;h2 class=&quot;fruit center&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px; text-align: center;&quot;&gt;Mango&lt;/h2&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Orange&lt;/h2&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Apple&lt;/h2&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Same class with Different Tag&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;p dir=&quot;ltr&quot;&gt;
&amp;lt;html&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	.fruit {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		background-color: orange;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		color: white;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		padding: 10px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2&amp;gt;Same Class with Different Tag&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Mango&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p class=&quot;fruit&quot;&amp;gt;Mango is the king of all fruits.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output4&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Same Class with Different Tag&lt;/h2&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Mango&lt;/h2&gt;&lt;p class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; margin-bottom: 1rem; margin-top: 0px; padding: 10px;&quot;&gt;Mango is the king of all fruits.&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKxfxiJxt36dqOaNTuR08ezEFHOu_G9BbdCJ33IYTi6sFUi0KOefLNUZG7LiFZDy8iwc2wAMImLneZ9FMy9rkjAUp5_rxRwA3oTLvijL7Bstu9lITtaecuFWFT4rS9_FxpnvgLKJIs4q8/s1280/Basic+HTML+By+TopBlog+Pk+16.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKxfxiJxt36dqOaNTuR08ezEFHOu_G9BbdCJ33IYTi6sFUi0KOefLNUZG7LiFZDy8iwc2wAMImLneZ9FMy9rkjAUp5_rxRwA3oTLvijL7Bstu9lITtaecuFWFT4rS9_FxpnvgLKJIs4q8/s320/Basic+HTML+By+TopBlog+Pk+16.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/4013006889398093489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4013006889398093489'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4013006889398093489'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-16.html' title='Learn Basic HTML Complete Course part 16'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKxfxiJxt36dqOaNTuR08ezEFHOu_G9BbdCJ33IYTi6sFUi0KOefLNUZG7LiFZDy8iwc2wAMImLneZ9FMy9rkjAUp5_rxRwA3oTLvijL7Bstu9lITtaecuFWFT4rS9_FxpnvgLKJIs4q8/s72-c/Basic+HTML+By+TopBlog+Pk+16.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-7575045470903615496</id><published>2020-10-15T02:51:00.007-07:00</published><updated>2020-12-08T04:35:48.127-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 17</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Id Attribute&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The &lt;b&gt;id attribute&lt;/b&gt; refers to a &lt;b&gt;unique&lt;/b&gt; value for an HTML element. This HTML id value can be used with &lt;b&gt;CSS&lt;/b&gt; and &lt;b&gt;JavaScript&lt;/b&gt; to perform certain task.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML id with CSS&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;In CSS, if you want to select an element with a &lt;b&gt;specific id&lt;/b&gt;, write a hash (&lt;b&gt;#&lt;/b&gt;) character, followed by the id of the element.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Syntex&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
#myid {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: lightpink;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color: black;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 40px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;/style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;h1 id=&quot;myid&quot;&amp;gt;Example of HTML id&amp;lt;/h1&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;📍Here the id attribute is &quot;myid&quot; which can be used on any HTML element. The HTML id value is case-sensitive and it must contain at least one character, and must not contain whitespace (spaces, tabs, etc.).&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;color: #dd5722;&quot;&gt;Difference between &lt;/span&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;HTML Class&lt;/span&gt;&lt;span style=&quot;color: #dd5722;&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;ID&lt;/span&gt;&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An &lt;b&gt;HTML class&lt;/b&gt; name can be used by multiple elements while An &lt;b&gt;HTML element&lt;/b&gt; can only have one &lt;b&gt;unique id&lt;/b&gt; that belongs to that single element.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;head&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			/* Style the element with the id &quot;myid&quot;&amp;nbsp; This tutorial is provided By topblogpk.blogspot.com*/&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			#myid {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				background-color: pink;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				color: black;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				padding: 40px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				text-align: center;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;			/* Style all elements with the class name &quot;fruit&quot; */&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			.fruit {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				background-color: orange;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				color: white;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
				padding: 10px;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
			}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;/style&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/head&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;	&amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		&amp;lt;h2&amp;gt;Difference Between Class and ID&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		&amp;lt;h1 id=&quot;myid&quot;&amp;gt;My Favorite Fruits&amp;lt;/h1&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Mango&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p&amp;gt;The Kinkg of all fruits.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Orange&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p&amp;gt;Full of Vitamin C&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;		&amp;lt;h2 class=&quot;fruit&quot;&amp;gt;Apple&amp;lt;/h2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p&amp;gt;An apple a day, keeps the doctor away.&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;







&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;	&amp;lt;/body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Difference Between Class and ID&lt;/h2&gt;&lt;h1 id=&quot;myid&quot; style=&quot;background-color: pink; box-sizing: border-box; color: black; font-family: inherit; font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 40px; text-align: center;&quot;&gt;My Favorite Fruits&lt;/h1&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Mango&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The Kinkg of all fruits.&lt;/p&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Orange&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Full of Vitamin C&lt;/p&gt;&lt;h2 class=&quot;fruit&quot; style=&quot;background-color: orange; box-sizing: border-box; color: white; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; padding: 10px;&quot;&gt;Apple&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;An apple a day, keeps the doctor away.&lt;/p&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML id with JavaScript&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;h2&amp;gt;HTML id with JavaScript&amp;lt;/h2&amp;gt;&lt;br /&gt;
		&amp;lt;h1 id=&quot;hello&quot;&amp;gt;Hello Friends on TopBlog Pk!!!&amp;lt;/h1&amp;gt;&lt;br /&gt;
		&amp;lt;button onclick=&quot;displayResult()&quot;&amp;gt;Change text&amp;lt;/button&amp;gt;&lt;br /&gt;
		&amp;lt;script&amp;gt;&lt;br /&gt;
			function displayResult() {&lt;br /&gt;
				document.getElementById(&quot;hello&quot;).innerHTML = &quot;All the best for future By TopBlog Pk!&quot;;&lt;br /&gt;
			}&lt;br /&gt;
		&amp;lt;/script&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;output:&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML id with JavaScript&lt;/h2&gt;&lt;h1 id=&quot;hello&quot; style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;All the best for future By TopBlog Pk!&lt;/h1&gt;&lt;button style=&quot;border-radius: 0px; font-family: inherit; font-size: inherit; line-height: inherit; margin: 0px; overflow: visible;&quot;&gt;Change text&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Or&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Click Here On &lt;b&gt;Change text &lt;/b&gt;Button&lt;/div&gt;&lt;html&gt;
	&lt;body&gt;
	
		&lt;button onclick=&quot;displayResult()&quot;&gt;Change text&lt;/button&gt;
		&lt;script&gt;
			function displayResult() {
				document.getElementById(&quot;hello&quot;).innerHTML = &quot;All the best for future By TopBlog Pk!&quot;;
			}&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;body&gt;
		&lt;h2&gt;HTML id with JavaScript&lt;/h2&gt;
		&lt;h1 id=&quot;hello&quot;&gt;Hello Friends!!!&lt;/h1&gt;
		&lt;button onclick=&quot;displayResult()&quot;&gt;Change text&lt;/button&gt;
		&lt;script&gt;
			function displayResult() {
				document.getElementById(&quot;hello&quot;).innerHTML = &quot;All the best for future!&quot;;
			}
		&lt;/script&gt;
	&lt;/body&gt;
&lt;/html&gt;    
		&lt;/script&gt;
	&lt;/body&gt;
&lt;/html&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;📍&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirsfXius_Qn73Z524mLNd71ro2oq5iqq6ybWPISs9pdkwMPxin3X6ik6HTmLGPe1SxLZ4OeRYgGJ2zR6Sce-r_xkEQir-Y10TxyNMCBkrxT-5IPs4zWhraaJ48_BmkACa5oYIboKPcEaCX/s1280/Basic+HTML+By+TopBlog+Pk+17.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirsfXius_Qn73Z524mLNd71ro2oq5iqq6ybWPISs9pdkwMPxin3X6ik6HTmLGPe1SxLZ4OeRYgGJ2zR6Sce-r_xkEQir-Y10TxyNMCBkrxT-5IPs4zWhraaJ48_BmkACa5oYIboKPcEaCX/s320/Basic+HTML+By+TopBlog+Pk+17.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/7575045470903615496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7575045470903615496'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/7575045470903615496'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-17.html' title='Learn Basic HTML Complete Course part 17'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirsfXius_Qn73Z524mLNd71ro2oq5iqq6ybWPISs9pdkwMPxin3X6ik6HTmLGPe1SxLZ4OeRYgGJ2zR6Sce-r_xkEQir-Y10TxyNMCBkrxT-5IPs4zWhraaJ48_BmkACa5oYIboKPcEaCX/s72-c/Basic+HTML+By+TopBlog+Pk+17.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-4913925990079841736</id><published>2020-10-15T02:19:00.007-07:00</published><updated>2020-12-08T04:35:48.124-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 18</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML iframes&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;HTML &lt;b&gt;Iframe&lt;/b&gt; is used to display a nested webpage (a webpage within a webpage). The HTML &lt;b&gt;&amp;lt;iframe&amp;gt;&lt;/b&gt; tag defines an inline frame.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;Iframe Syntax&lt;/b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;An &lt;b&gt;HTML iframe &lt;/b&gt;is defined with the &amp;lt;iframe&amp;gt; tag:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;iframe src=&quot;URL&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Here, &quot;src&quot; attribute specifies the web address (URL) of the inline frame page.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Set Width and Height of iframe&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;You can set the width and height of iframe by using &quot;&lt;b&gt;width&lt;/b&gt;&quot; and &quot;&lt;b&gt;height&lt;/b&gt;&quot; attributes. By default, the attribute?s values are specified in pixels but you can also set them in percent. i.e. 50%, 60% etc.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Remove the border of iframe&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;By default, an iframe contains a border around it. You can remove the border by using &lt;b&gt;&amp;lt;style&amp;gt;&lt;/b&gt; attribute and CSS border property.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Iframe Target for a link&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;You can set a target frame for a link by using iframe. Your specified target attribute of the link must refer to the name attribute of the iframe.&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;h2&amp;gt;You need to make Internet connection for output : &amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h4&amp;gt;HTML Iframes example By Pixels&amp;lt;/h4&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;iframe src=&quot;https://touchtogain.blogspot.com&quot; height=&quot;400&quot; width=&quot;300&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;br&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;
	&amp;nbsp; &lt;br /&gt;
	&amp;lt;h4&amp;gt;HTML Iframes example By Percentage&amp;lt;/h4&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;iframe src=&quot;https://quizdoor.blogspot.com&quot; height=&quot;50%&quot; width=&quot;70%&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;br&amp;gt;&amp;lt;hr&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &lt;br /&gt;
	&amp;lt;h4&amp;gt;Remove the Iframe Border&amp;lt;/h4&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;p&amp;gt;This iframe example doesn&#39;t have any border&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;iframe src=&quot;https://touchtogain.blogspot.com&quot; &lt;br /&gt;
			style=&quot;border:none;&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;hr&amp;gt; &lt;br /&gt;
	&amp;nbsp; &lt;br /&gt;
	&amp;lt;h4&amp;gt;Iframe - Target for a Link&amp;lt;/h4&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;iframe height=&quot;300px&quot; width=&quot;250px&quot;&lt;br /&gt;
			src=&quot;new.html&quot; name=&quot;iframe_a&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;
	&amp;lt;p&amp;gt;&amp;lt;a href=&quot;https://topblogpk.blogspot.com&quot; &lt;br /&gt;
		&amp;nbsp; target=&quot;iframe_a&quot;&amp;gt;TopBlog Pk&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
	&amp;lt;p&amp;gt;The name of iframe and link target must have &lt;br /&gt;
		same value else link will not open as frame. &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIrOQXgJDddLS71WVzHAXoziFgx6ClrxzAq4LNeJrKsmsLvNA-hw1dPUQ-ijMFmz3vUBL88oLKPIj8VvIsC0eCLidSgW71sIEVVC_EWlZVhQnQZ-cnnEoysGhLfFr0Dc3MqsnqZ_CDweI/s1280/Basic+HTML+By+TopBlog+Pk+18.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIrOQXgJDddLS71WVzHAXoziFgx6ClrxzAq4LNeJrKsmsLvNA-hw1dPUQ-ijMFmz3vUBL88oLKPIj8VvIsC0eCLidSgW71sIEVVC_EWlZVhQnQZ-cnnEoysGhLfFr0Dc3MqsnqZ_CDweI/s320/Basic+HTML+By+TopBlog+Pk+18.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/h4&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;outputs are:&lt;/h4&gt;&lt;div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;You need to make Internet connection for output :&lt;/h2&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Iframes example By Pixels&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;iframe height=&quot;400&quot; src=&quot;https://touchtogain.blogspot.com&quot; style=&quot;box-sizing: border-box;&quot; width=&quot;300&quot;&gt;&lt;/iframe&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML Iframes example By Percentage&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;iframe height=&quot;50%&quot; src=&quot;https://quizdoor.blogspot.com&quot; style=&quot;box-sizing: border-box;&quot; width=&quot;70%&quot;&gt;&lt;/iframe&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Remove the Iframe Border&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This iframe example doesn&#39;t have any border&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;iframe src=&quot;https://touchtogain.blogspot.com&quot; style=&quot;border-style: none; border-width: initial; box-sizing: border-box;&quot;&gt;&lt;/iframe&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;hr style=&quot;border-bottom: 0px; border-image: initial; border-left: 0px; border-right: 0px; border-top-color: rgba(0, 0, 0, 0.1); border-top-style: solid; box-sizing: content-box; height: 0px; margin-bottom: 1rem; margin-top: 1rem; overflow: visible;&quot; /&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Iframe - Target for a Link&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;iframe height=&quot;300px&quot; name=&quot;iframe_a&quot; src=&quot;new.html&quot; style=&quot;box-sizing: border-box;&quot; width=&quot;250px&quot;&gt;&lt;/iframe&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;a href=&quot;https://www.nasa.gov&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007bff; text-decoration-line: none;&quot; target=&quot;iframe_a&quot;&gt;TopBlog Pk&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The name of iframe and link target must have same value else link will not open as frame.&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/4913925990079841736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-18.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4913925990079841736'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/4913925990079841736'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-18.html' title='Learn Basic HTML Complete Course part 18'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIrOQXgJDddLS71WVzHAXoziFgx6ClrxzAq4LNeJrKsmsLvNA-hw1dPUQ-ijMFmz3vUBL88oLKPIj8VvIsC0eCLidSgW71sIEVVC_EWlZVhQnQZ-cnnEoysGhLfFr0Dc3MqsnqZ_CDweI/s72-c/Basic+HTML+By+TopBlog+Pk+18.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-684291112378473985</id><published>2020-10-15T01:45:00.008-07:00</published><updated>2020-12-08T04:35:48.120-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 19</title><content type='html'>&lt;div&gt;&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML JavaScript&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;A Script is a small program which is used with HTML to make web pages more attractive, dynamic and interactive, such as an alert popup window on mouse click. Currently, the most popular scripting language is JavaScript used for websites.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h4&amp;gt;JavaScript Date and Time example&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;button type=&quot;button&quot;&amp;nbsp; &lt;br /&gt;
		onclick=&quot;document.getElementById(&#39;demo&#39;).innerHTML = Date()&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	Click me to display Date and Time.&amp;lt;/button&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;p id=&quot;demo&quot;&amp;gt;&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;b&gt;Output is:&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;JavaScript Date and Time example click on below button to show output&lt;/h4&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;html&gt;  
	&lt;body&gt;  
		&lt;h4&gt;JavaScript Date and Time example&lt;/h4&gt;  
		&lt;button onclick=&quot;document.getElementById(&#39;demo&#39;).innerHTML = Date()&quot; type=&quot;button&quot;&gt;  
	Click me to display Date and Time.&lt;/button&gt;  
	&lt;p id=&quot;demo&quot;&gt;&lt;/p&gt;  
	&lt;/body&gt;  
&lt;/html&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML &amp;lt;script&amp;gt; Tag&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The HTML &lt;b&gt;&amp;lt;script&amp;gt;&lt;/b&gt; tag is used to specify a client-side script. It may be an internal or external JavaScript which contains scripting statements, hence we can place &lt;b&gt;&amp;lt;script&amp;gt; &lt;/b&gt;tag within &lt;b&gt;&amp;lt;body&amp;gt;&lt;/b&gt; or &lt;b&gt;&amp;lt;head&amp;gt;&amp;nbsp;&lt;/b&gt;section.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;It is mainly used to manipulate images, form validation and change content dynamically. JavaScript uses document.getElementById() method to select an HTML element.&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h4&amp;gt;Use JavaScript to Change Text&amp;lt;/h4&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;p id=&quot;test&quot;&amp;gt;&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;script&amp;gt;&amp;nbsp; &lt;br /&gt;
			document.getElementById(&quot;test&quot;).innerHTML =&lt;br /&gt;
			 &quot;Hello Technoapps Development&quot;;&amp;nbsp; &lt;br /&gt;
		&amp;lt;/script&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;b&gt;Output is&lt;/b&gt;:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Use JavaScript to Change Text&lt;/h4&gt;&lt;p id=&quot;test&quot; style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Hello Technoapps Development&lt;/p&gt;&lt;/div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;HTML events with JavaScript&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An event is something which user does, or browser does such as mouse click or page loading are examples of events, and JavaScript comes in the role if we want something to happen on these events.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;HTML provides event handler attributes which work with JavaScript code and can perform some action on an event.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;Example is:&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;JavaScript&amp;nbsp; click&amp;nbsp; button example to show output as below&amp;nbsp;&lt;/h4&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;h4&amp;gt;Click Event Example&amp;lt;/h4&amp;gt;&lt;br /&gt;
		&amp;lt;p&amp;gt;Click on the button and you csn see a pop-up window with a message&amp;lt;/p&amp;gt;&lt;br /&gt;
		&amp;lt;input type=&quot;button&quot; value=&quot;Click&quot; onclick=&quot;alert(&#39;Hi,how are you&#39;)&quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;html&gt;
	&lt;body&gt;
		&lt;h4&gt;Click Event Example&lt;/h4&gt;
		&lt;p&gt;Click on the button and you csn see a pop-up window with a message&lt;/p&gt;
		&lt;input type=&quot;button&quot; value=&quot;Click&quot; onclick=&quot;alert(&#39;Hi,how are you&#39;)&quot;&gt;
	&lt;/body&gt;
&lt;/html&gt;&lt;/div&gt;&lt;span style=&quot;color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;b&gt;HTML can have following events such as:&lt;/b&gt;&lt;/span&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Form events :&lt;/span&gt;&amp;nbsp;reset, submit, etc.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Select events :&lt;/span&gt;&amp;nbsp;text field, text area, etc.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Focus event :&lt;/span&gt;&amp;nbsp;focus, blur, etc.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Mouse events :&lt;/span&gt;&amp;nbsp;select, mouseup, mousemove, mousedown, click, dblclick, etc.&lt;/li&gt;&lt;/ul&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;Following are the list for Window event attributes:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; id=&quot;orange&quot; style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); color: #212529; font-family: Verdana; font-size: 12px; padding: 10px; text-align: justify;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Event Name&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Handler Name&lt;/th&gt;&lt;th style=&quot;background-color: #ffc000; border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; color: white; padding: 10px;&quot;&gt;Occurs when&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onBlur&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;blur&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When form input loses focus&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onClick&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;click&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When the user clicks on a form element or a link&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onSubmit&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;submit&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When user submits a form to the server.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onLoad&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;load&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When page loads in a browser.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: #fff2cc; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onFocus&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;focus&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When user focuses on an input field.&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;onSelect&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;select&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(255, 217, 102); box-sizing: border-box; padding: 10px;&quot;&gt;When user selects the form input filed.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuYoHGvJhxxGeaYB8gGZQoj9aMOEWmCgErSwp_s6iEk5XUN9pqFcChP-upbomYrly4_n6dcpkuIlFoXjKfK9J8LWjedFreaTvVtKXcb-yCOiC13U4YDlYHgASL72bYLMQUaPiaQp2BdIB/s1280/Basic+HTML+By+TopBlog+Pk+19.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuYoHGvJhxxGeaYB8gGZQoj9aMOEWmCgErSwp_s6iEk5XUN9pqFcChP-upbomYrly4_n6dcpkuIlFoXjKfK9J8LWjedFreaTvVtKXcb-yCOiC13U4YDlYHgASL72bYLMQUaPiaQp2BdIB/s320/Basic+HTML+By+TopBlog+Pk+19.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/684291112378473985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/684291112378473985'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/684291112378473985'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-19.html' title='Learn Basic HTML Complete Course part 19'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFuYoHGvJhxxGeaYB8gGZQoj9aMOEWmCgErSwp_s6iEk5XUN9pqFcChP-upbomYrly4_n6dcpkuIlFoXjKfK9J8LWjedFreaTvVtKXcb-yCOiC13U4YDlYHgASL72bYLMQUaPiaQp2BdIB/s72-c/Basic+HTML+By+TopBlog+Pk+19.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-8407391788478980893</id><published>2020-10-15T00:22:00.004-07:00</published><updated>2020-12-08T04:35:48.128-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 20</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Comments&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Comments are some text or code written in your code to give an explanation about the code, and not visible to the user. Comments which are used for HTML file are known as HTML comments. Anything written between these tags will be ignored by the browser, so comments will not be visible on the webpage.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Comments of any code make code easy to understand and increase readability of code.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Comments are also part of the code, which gives an explanation of the code.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisHcv-DWZ65WFd7q57vI8Jt5E9_3as63GRJleenK5al7mZm_QE-k3r-xK2kVhkwtfwPC4dlHszg-MTqQHSCfNNYBau1lQZPGRx1qgsj6hwj1gjKzb8bh4YAlW8XBYlhpeHLVldegXNCn5O/s1280/Basic+HTML+By+TopBlog+Pk+20.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisHcv-DWZ65WFd7q57vI8Jt5E9_3as63GRJleenK5al7mZm_QE-k3r-xK2kVhkwtfwPC4dlHszg-MTqQHSCfNNYBau1lQZPGRx1qgsj6hwj1gjKzb8bh4YAlW8XBYlhpeHLVldegXNCn5O/s320/Basic+HTML+By+TopBlog+Pk+20.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;How to add comment In HTML&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;You can add comments in your HTML file using &amp;lt;! -- ... --&amp;gt; tag. So if you will write anything between theses comment tag that will be treated as comment and browser will not read it.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Syntax&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;! -- Write commented text here --&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;📍The commented code will not be visible to a webpage, and hence you can use comment tag for documentation purpose, and debugging purpose:&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Example&lt;/h4&gt;&lt;div&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;!-- This is Header section --&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Internal CSS --&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; h2.test, p.test{&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #f0f8ff;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 30px;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: red;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &lt;br /&gt;
	&amp;lt;!-- This is body section, write code here which you want to display on web-page --&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- heading tag --&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;h2 class=&quot;test&quot;&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;First WebPage&lt;/span&gt;&amp;lt;/h2&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;nbsp; &lt;br /&gt;
	 &amp;lt;!-- Paragraph tag --&amp;gt;&amp;nbsp; &lt;br /&gt;
	 &amp;lt;p class=&quot;test&quot;&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;Write your Content here!!!&lt;/span&gt;&amp;lt;/p&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h2 class=&quot;test&quot; style=&quot;background-color: aliceblue; box-sizing: border-box; color: red; font-family: inherit; font-size: 30px; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px; text-align: center;&quot;&gt;First WebPage&lt;/h2&gt;&lt;p class=&quot;test&quot; style=&quot;background-color: aliceblue; box-sizing: border-box; color: red; font-size: 30px; margin-bottom: 1rem; margin-top: 0px; text-align: center;&quot;&gt;Write your Content here!!!&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/8407391788478980893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8407391788478980893'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8407391788478980893'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-20.html' title='Learn Basic HTML Complete Course part 20'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisHcv-DWZ65WFd7q57vI8Jt5E9_3as63GRJleenK5al7mZm_QE-k3r-xK2kVhkwtfwPC4dlHszg-MTqQHSCfNNYBau1lQZPGRx1qgsj6hwj1gjKzb8bh4YAlW8XBYlhpeHLVldegXNCn5O/s72-c/Basic+HTML+By+TopBlog+Pk+20.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-8139540800529299222</id><published>2020-10-15T00:13:00.005-07:00</published><updated>2020-12-08T04:35:48.127-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 21</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML File Paths&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;An HTML file fileName is used to describe the location of a file in a website folder. File paths are like an address of file for a web browser. We can link any external resource to add in our HTML file with the help of file paths such as images, file, CSS file, JS file, video, etc.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The src or href attribute requires an attribute to link any external source to HTML file.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;b&gt;Following are the different types to specify file paths:&lt;/b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;&amp;lt;img src=&quot;picture.jpg&quot;&amp;lt;&amp;nbsp;&lt;/span&gt;It specifies that picture.jpg is located in the same folder as the current page.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;&amp;lt;img src=&quot;images/picture.jpg&quot;&amp;lt;&amp;nbsp;&lt;/span&gt;It specifies that picture.jpg is located in the images folder in the current folder.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;&amp;lt;img src=&quot;/images/picture.jpg&quot;&amp;lt;&amp;nbsp;&lt;/span&gt;It specifies that picture.jpg is located in the images folder at the root of the current web.&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;&amp;lt;img src=&quot;../picture.jpg&quot;&amp;lt;&amp;nbsp;&lt;/span&gt;It specifies that picture.jpg is located in the folder one level up from the current folder.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOkmiJHRbKnejNHE3NjUmQprK8diy-FzJQyy6xqT2DH7BIbsqAY87oCJIWWPSD0CcZN-_DnpxRqKLA4TfBss12OwWYj44J078fhcNQk1irTl_b56FnpIRo_naCF1Tc_zSYX_AIq7tZNo6t/s1280/Basic+HTML+By+TopBlog+Pk+21.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOkmiJHRbKnejNHE3NjUmQprK8diy-FzJQyy6xqT2DH7BIbsqAY87oCJIWWPSD0CcZN-_DnpxRqKLA4TfBss12OwWYj44J078fhcNQk1irTl_b56FnpIRo_naCF1Tc_zSYX_AIq7tZNo6t/s320/Basic+HTML+By+TopBlog+Pk+21.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;File paths are used on webpages to link external files like:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;/b&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Web pages&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Images&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Style sheets&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;JavaScript&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;&lt;b&gt;There are two types of File Paths:&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;ol style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Absolute File Paths&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;Relative File Paths&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Absolute File Paths&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;Absolute file fileName specifies full URL address.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1.00em;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;body&amp;gt;&amp;nbsp; &lt;br /&gt;
		&amp;lt;h4&amp;gt;Using a Full URL File Path&amp;lt;/h4&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
		&amp;lt;img src=&quot;https://blogs.nasa.gov/spacestation/wp-content/uploads/sites/240/2019/03/exp59_spacewalker_mcclain_hague_032219.jpg&quot; alt=&quot;image&quot; style=&quot;width:300px&quot;&amp;gt;&amp;nbsp; &lt;br /&gt;
	&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output1&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Using a Full URL File Path&lt;/h4&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;img alt=&quot;image&quot; src=&quot;https://blogs.nasa.gov/spacestation/wp-content/uploads/sites/240/2019/03/exp59_spacewalker_mcclain_hague_032219.jpg&quot; style=&quot;border-style: none; box-sizing: border-box; vertical-align: middle; width: 300px;&quot; /&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;h4 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #dd5722; font-family: Helvetica; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Relative File Paths&lt;/h4&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The relative file fileName specifies to a file which is related to the location of current page.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-size: 1em;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&amp;lt;!DOCTYPE html&amp;gt; &amp;lt;html&amp;gt; &amp;lt;body&amp;gt; &amp;lt;h4&amp;gt;Using a Relative File Path&amp;lt;/h4&amp;gt;&amp;lt;br&amp;gt; &amp;lt;img src=&quot;&lt;span style=&quot;color: red;&quot;&gt;../image/html.jpg&lt;/span&gt;&quot; alt=&quot;Mountain&quot; style=&quot;width:300px&quot;&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&amp;nbsp;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;background-color: white; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot;&gt;output:&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;div class=&quot;output&quot; id=&quot;output2&quot; style=&quot;background-color: #dddddd; border: 0.5px solid black; box-sizing: border-box; font-family: Verdana; font-size: 12px; padding: 10px;&quot;&gt;&lt;h4 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Using a Relative File Path&lt;/h4&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Mountain image here&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;📍Always remember to use proper URL, file name, image name, else it will not display on the webpage.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Try to use relative file paths, so that your code will be independent of URL.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/8139540800529299222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8139540800529299222'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/8139540800529299222'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-21.html' title='Learn Basic HTML Complete Course part 21'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOkmiJHRbKnejNHE3NjUmQprK8diy-FzJQyy6xqT2DH7BIbsqAY87oCJIWWPSD0CcZN-_DnpxRqKLA4TfBss12OwWYj44J078fhcNQk1irTl_b56FnpIRo_naCF1Tc_zSYX_AIq7tZNo6t/s72-c/Basic+HTML+By+TopBlog+Pk+21.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4568204870050515099.post-5791623895447564226</id><published>2020-10-15T00:08:00.005-07:00</published><updated>2020-12-08T04:35:48.125-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Learn Basic HTML Complete Course part 22</title><content type='html'>&lt;h2 class=&quot;html&quot; style=&quot;box-sizing: border-box; color: #c44a19; font-family: Helvetica; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 25px; text-align: center;&quot;&gt;HTML Head&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;The HTML &lt;b&gt;&amp;lt;head&amp;gt; &lt;/b&gt;element is used as a container for metadata (data about data). It is used between &lt;b&gt;&amp;lt;html&amp;gt;&lt;/b&gt; tag and&lt;b&gt; &amp;lt;body&amp;gt; &lt;/b&gt;tag.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;The head of an HTML document is a part whose content is not displayed in the browser on page loading. It just contains metadata about the HTML document which specifies data about the HTML document.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;An &lt;b&gt;HTML head&lt;/b&gt; can contain lots of metadata information or can have very less or no information, it depends on our requirement. But head part has a crucial role an HTML document while creating a website.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Metadata defines the document title, character set, styles, links, scripts, and other meta information.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyABGfh1_T6aSHACc7YCgksWu2ImXWcZ7bgd4qOcN3zdxx0qN3PpQj-45WiDt2qt4RmxUsRV8BOoEIk_sMoYJTvI9Zg-BZKl8p3TyJteGbjsJI1oJdvfsbole1DuQ87MST5lnOnhanLyQ/s1280/Basic+HTML+By+TopBlog+Pk+22.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;720&quot; data-original-width=&quot;1280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyABGfh1_T6aSHACc7YCgksWu2ImXWcZ7bgd4qOcN3zdxx0qN3PpQj-45WiDt2qt4RmxUsRV8BOoEIk_sMoYJTvI9Zg-BZKl8p3TyJteGbjsJI1oJdvfsbole1DuQ87MST5lnOnhanLyQ/s320/Basic+HTML+By+TopBlog+Pk+22.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Following is a list of tags used in metadata:&lt;/b&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; list-style-type: square; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;title&amp;gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;style&amp;gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;meta&amp;gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;link&amp;gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;script&amp;gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;&amp;lt;base&amp;gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;br style=&quot;box-sizing: border-box; color: #212529; font-family: Verdana; font-size: 12px; text-align: justify;&quot; /&gt;&lt;p class=&quot;note&quot; style=&quot;border: 0.5px solid black; box-sizing: border-box; color: red; font-family: Verdana; font-size: 12px; margin-bottom: 1rem; margin-top: 0px; padding: 10px; text-align: justify;&quot;&gt;We will learn about this all tag in details in this tutorial.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://topblogpk.blogspot.com/feeds/5791623895447564226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-22.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5791623895447564226'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4568204870050515099/posts/default/5791623895447564226'/><link rel='alternate' type='text/html' href='https://topblogpk.blogspot.com/2020/10/learn-basic-html-complete-course-part-22.html' title='Learn Basic HTML Complete Course part 22'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfyABGfh1_T6aSHACc7YCgksWu2ImXWcZ7bgd4qOcN3zdxx0qN3PpQj-45WiDt2qt4RmxUsRV8BOoEIk_sMoYJTvI9Zg-BZKl8p3TyJteGbjsJI1oJdvfsbole1DuQ87MST5lnOnhanLyQ/s72-c/Basic+HTML+By+TopBlog+Pk+22.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>