Hi Friends Want To Learn Html, Then You Are At The Right Cyber Place But Before We Start Some Common Things You Must Know About It.
Q- What Is Html ?
A- Html Stands For Hyper Text Markup Languagae. It Is The Basic As Well As The Easiest Web Desiging Langauage. It Is Easily Understood By Every Browser As Well As It Loads Very Fastly.
Q- What Are Empty Tags ?
A- Empty Tags Are Those Tags Tags In Html Which Do Not Need An Closing Tag.
Q- What Are Container Tags ?
A- Container Tags Are Those Tags Which Need And Closing Or Terminating Tags Other Wise They Will Cause Errors Or Effect Those Thing Whick You Do No Want To Be Effected By Them.
Q- What Do You Need For Writting Html Codes ?
Q- What Are Empty Tags ?
A- Empty Tags Are Those Tags Tags In Html Which Do Not Need An Closing Tag.
Q- What Are Container Tags ?
A- Container Tags Are Those Tags Which Need And Closing Or Terminating Tags Other Wise They Will Cause Errors Or Effect Those Thing Whick You Do No Want To Be Effected By Them.
Q- What Do You Need For Writting Html Codes ?
A- For Writing Html Codes You Will Need A Basic Text Editing Software Like Note Pad Or Wordpad. For This Purpose Notepad Is Considered The Best.
Steps To Open Note Pad:-
- Press Windows Key + R On The Key Board To Open Run.
- Now Run Will Be Displayed On The Screen.
- Now In The Open Box Enter Notepad And Press Enter.
- Notepad Will Be Displayed On The Screen.
Now Let's Start Html:-
<Html>
The First Code For Html Is <Html>......<Html> Tag Only. It Marks That The Document Which Is Being Typed Is An Html Document. It Is An Container Tag And Contains All The Document Inside It.
<Head>
The Second Code For Html Is <Head>.......</Head> Tag. It Is Also An Conainer Tag And Contains <Title> Tag In It.
<Title>
Title Tag Lies Under The <Head> Tag And Its Layout Is As <Head><Title>"Title"</Title></Head>. The Title Tag Contains The Title Of The Page And Can Be Seen In The Browser's Tab Or Title Bar.
<Body>
Body Tag Is A Very Important Tag It Contains All The Body Of The The Webpage Which Is Displayed In The Browser.
<Br>
The Br Tag Is Used For Breaking The Line Or Starting A New Line Or It Can Be Understood As Pressing Enter While Typing An Document. It Is An Empty Tag.
<P>
The P Tag Is Use For Starting A New Paragraph. It Is An Container Tag.
After Creating Your Document Save It By Keeping The Extension As .Html/.Htm.
The Steps For Saving Are:-
Keeping All Together.
<Html>
<Head>
<Title>
My First Webpage
</Title>
</Head>
<Body>
This Is My First Webpage.
<Br>
I Am New To Html And I Have Learned This All From The Ymg Portal Blog.
<P>
This Is My First Paragraph
</P>
<P>
This Is My Second Paragrah
</Body>
</Html>
Output Of The Html Document:-

<Head>
The Second Code For Html Is <Head>.......</Head> Tag. It Is Also An Conainer Tag And Contains <Title> Tag In It.
<Title>
Title Tag Lies Under The <Head> Tag And Its Layout Is As <Head><Title>"Title"</Title></Head>. The Title Tag Contains The Title Of The Page And Can Be Seen In The Browser's Tab Or Title Bar.
<Body>
Body Tag Is A Very Important Tag It Contains All The Body Of The The Webpage Which Is Displayed In The Browser.
<Br>
The Br Tag Is Used For Breaking The Line Or Starting A New Line Or It Can Be Understood As Pressing Enter While Typing An Document. It Is An Empty Tag.
<P>
The P Tag Is Use For Starting A New Paragraph. It Is An Container Tag.
After Creating Your Document Save It By Keeping The Extension As .Html/.Htm.
The Steps For Saving Are:-
- Click On File Or Press Ctrl+S On The Keyboard.
- The Save As Dialogue Will Be Displayed.
- Now Choose The Location Where You Want To Save The File.
- Now In The File Name Box Type The File Name Keeping The Extension As .Html Or .Htm. For Example:-Ymgportal.html.
- Now Click On The Save Button. Your Documnet Will Be Saved.
Keeping All Together.
<Html>
<Head>
<Title>
My First Webpage
</Title>
</Head>
<Body>
This Is My First Webpage.
<Br>
I Am New To Html And I Have Learned This All From The Ymg Portal Blog.
<P>
This Is My First Paragraph
<P>
This Is My Second Paragrah
</Body>
</Html>
Output Of The Html Document:-






0 comments:
Post a Comment