Skip to main content

First day with Full stack development --> HTML MDN Source

HTML

I am using the visual studio code.

customize the vs code:- open the settings (Ctrl +,) or just click on setting.

 1. The syntaax of HTML is --> .html  (blogger.html).

use this source URL for learning the HTML--> MDN Source.


HTML Boilerplate


--> To get the basic the html structure in vs code use shortcut, type ! and click on tab button and file should be saved.

-->To search the all shortcut of vscode:- (Ctrl+shift+P).
-->To format the HTML code in a format (shift+alt+F).

Html Tags:-

List tag

<ul>used as the unordered list *,*,*</ul> 
<ol>used as the ordered list like 1,2,3,4</ol>
<li> gives data in list</li>

Anchor tag

<a href="https://www.google.com">Google</a> --> redirect to web page.

 <a href="about.html">about</a>--> redirect to file.

Image tag

   <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Male_and_female_chicken_sitting_together.jpg/220px-Male_and_female_chicken_sitting_together.jpg">
--> image get by URL.
    <img src="E:\sample\Image\Chicken_anatomy.jpg" alt="my pet chicken"> -->Image get by system by proper path
and use of alt, if the image is not showing then alt value/ text will show.

comment

use the comment

<!-- and -->

or short cut for line comment, uncomment --> ctrl+C

and block of comment shortcut--> shift+alt+A


Comments