Skip to main content

HTML Basics

HTML BASICS

HTML: Hypertext Markup Language. Used to create web pages.

World Wide Web Consortium is an organization that defines new specifications for HTML and is
responsible to update the language.

HTML allows you to format, arrange, and group text, display text as links and add images and
multimedia to a web page. It allows you to create and work with style sheets, controls, and embedded
scripting language code (such as JAVA, PHP,) on a web page.

HTML is written in the form of tags, which are by pairs of angle brackets (< and >) and some text
placed between these brackets. HTML consists of elements name attribute name and contents.

HTML tags, elements, and attributes are collectively known as HTML markup.
(However <br> and <hr> do not have any content, therefore they do not need closing tag).

< element-name attribute-name = ”attribute-vaue” > content </element_name>


Most of the HTML attributes are name-value pairs, separated by the = sign.

(However, some attributes, such as ismap attribute of the <img> element is written without

specifying a value for it. Attributes values should be enclosed with either single or double quotes.



HTML document structure:





HTML header example:


HTML paragraph example and alighment
<p>This is a paragraph.</p>

HTML backgroud colour

<body style="background-color:powderblue;">

HTML paragraph alignment:
<p align="right">
I am happy!

</p>

HTML font size and colour:
<font size="20", font color="red">Keep Quite!</font>

HTML links

<a href="base_3.html">html basic continue</a>

HTML image

<img src="smiley.gif" alt="Smiley face" height="42" width="42">


That's Enough, for now, we will discuss further later blogs.













Comments

Post a Comment

Popular posts from this blog

Postfix Evaluation(Single or Multi Digit) using STACK in C

POSTFIX EVALUATION WITH SINGLE OR MULTI DIGIT: Students find difficulties in finding the correct code for Postfix evaluation using Stack which works for Single as well for multidigit also; So here is the Question Format Given::- Question_2; Data_Structure:  Write a C program to evaluate the following POSTFIX expression. Use STACK to solve this problem.  INPUT: 5 6 2 + * 12 4 / -  OUTPUT: 37 Basic Understanding: Here is the Correct code:

STACK in C

IMPLEMENTATION OF STACK USING ARRAY Here is Example of Source Code of Data Structure-1, Question 1: Data_structure :  Write a C program to implement STACK using an array. This program must include the following functions in it. Write a function for “Push” operation.   Write a function for “Pop” operation.  Write a function for “Display” operation which prints the content of the STACK.    Basic Understanding : Push and Pop Operation: Here is How to Implement:                                                   

Insomnia : A Sleep Disorder, Symptoms, Cause and Remedies

DEFINITION:  Insomnia is a sleep disorder in which you have trouble falling or staying asleep.  The condition can short-term (acute) or can last a long time (chronic). It may also come and go.  Acute insomnia lasts from 1 (one) night to a few weeks. Insomnia is chronic when it happens at last 3 (three) nights a week for 3 (three) months or more. CHARACTERISTICS: ·         Difficulty falling asleep at night. ·        Waking up during the night. ·        Waking up too early. ·        Not feeling well-rested after a night's  sleep . ·        Daytime tiredness or sleepiness. ·        Irritability, depression, or anxiety. ·        Difficulty paying attention, focusing on tasks or remembering. ·        Inc...