6+ HTML Commands | How To Create A Webpage | TECH WORTHY MIND
HTML
(HTML) HyperText Markup Language is used to developing web pages. Web pages are also called HTML documents.
In this 'blog', I am going to introduce you to some basic concepts of "HTML".
They are as follows:-
1. COMMONLY USED HTML COMMANDS
2. TITLE AND FOOTERS
3. TEXT FORMATTING
4. EMPHASIZING MATERIAL IN A WEB PAGE
5. TEXT STYLES
6. OTHER TEXT EFFECTS
COMMONLY USED HTML COMMANDS
The Structure Of An HTML program
Every HTML program is enclosed within <HTML></HTML> tags.
Within these tags, two more distinct sections are created using the <HEAD></HEAD> tags and the <BODY></BODY> tags.
Document Body
All the textual information exists in the <BODY></BODY> tag.
TITLE AND FOOTERS
Title
A web page has a title i.e some specific words which introduced the whole web page in few words.
<TITLE>...….</TITLE>
Footer
Just as a title can be placed in the title bar of the browser window, certain information is placed on the foot of the web page.
Copyright information, contact detail, etc are placed in the footer.
<ADDRESS>...</ADDRESS>
TEXT FORMATTING
Paragraph breaks
A black line always separates a paragraph in textual formats. The tag that provides this functionality is <p>.
Line Breaks
When a text starts to write and in some conditions when we do not need to write a line continues on the same line then we use, the <BR/> tag should be used.
EMPHASIZING MATERIAL IN A WEB PAGE
Document pages are usually divided into sections and subsections (i.e. pages could have headings and subheadings), which need to be emphasized. HTML provides certain HEADING STYLES and HORIZONTAL RULES, which help break the text into logical sections with visual appeal.
Heading styles
<H1> is the highest-level header and <H6> is the lowest level.
<H1>Harshit Kumar</H1>
Output:-
Harshit Kumar
<H2>Harshit Kumar</H2>
Output:-
Harshit Kumar
and
<H6>Harshit Kumar</H6>
Output:-
Harshit Kumar
Drawing Lines
The tag <HR> draws the horizontal line across the whole page wherever specified.
Ex:-
<HR ALIGN=" left" WIDTH="10" SIZE="4"/>
TEXT STYLES
Bold
To print the text in BOLDFACE style. The tags used are <B>...</B>
Italic
Print text in ITALICS font. The tags used are between <I>...</I>
Underline
Print text as UNDERLINED style, The tags used are <U>...</U>
OTHER TEXT EFFECTS
Centering (Text, Image, etc.)
<CENTER>...< /CENTER> tags are used to center everything like text, image, etc.
The tag used for creating blank spaces in an HTML document is <SPACER> by the help of these tags we can create a space between them.
Thanks for reading my blog, I am glad to help you, if any query let me know by leaving a comment in the comment box.
-Harshit Kumar
Comments
Post a Comment
DON'T COMMENT LINK.