- HyperText Markup Language is commonly known as HTML, which is a platform independent.
- Developed by W3C (World Wide Web Consortium) and WHATWG ( Web Hypertext Application Technology Working Group)
- Basic of all the languages for creating a web page and with this we can create only static web pages.
- Latest version of all is HTML5, which is used all over right now.
- Used only for displaying the contents and structure of a website logically with the help of CSS.
- We can set constraints and change the webpage dynamically using JAVA SCRIPT.
Common Tags used in HTML and their crispy explanation. *All the tags should start as ‘< >’ and end as ‘</ >’ with tag name in-between. *It is Not Case Sensitive.
- <!DOCTYPE html> – To make the browsers understand that it is html document.
- <HTML>….</HTML> – Explains a HTML document.
- <HEAD>….</HEAD> – Provides information about the document.
- <TITLE>….</TITLE> – It will show the title of particular web page in browser tab.
- <BODY>….</BODY> – It will hold all the things that are to be displayed in a web page of a browser.
- <P>….</P> – It’s simply known as paragraph tag, which holds the paragraph content.
As we already mentioned why we are using Doctype, Html, Head, Title, Body, Paragraph tags , we shall move on to next step. HEADING :
- Heading size will be differed based on size of Tag from H1 to H6, Where “H1” will have higher priority and “H2” have less priority when compared to “H1” and vice versa.
- <img src=””>, File source(location) is specified here so that particular image will be displayed.
- src – source of the file.
- alt – alternative name of image (User can understand what the image is about).
- Height and Width are dimensions of image.
<a href> :
- <a> is known as anchor tag. It will “link” current Html file to any other another file.
- Href is known Hyperlink Reference, which is used for giving URL that directs to any other webpage.
- Break tag, it will just moves to next line instead of continuing with previous line.
- The <hr> tag generates a horizontal line in an HTML page to separate two lines.
Style is an HTML element used for styling. The <style> tag will provide styling information for a HTML document. It is known as Internal css. To know more about CSS !
Some HTML attributes of STYLE :
- background-color used for background color.
- color used for text colors.
- font-family used for text fonts.
- font-size used for text sizes.
- text-align used for text alignment.
- The specified HTML element’s background color will be changed.
- As in example code, H1 element’s background color is given as Orange.
- Text color can be changed with this attribute for specified element.
- As in example code, H2 element’s text color is given as Red.
- Font Family is used to change font style of a text or a paragraph of particular element.
- Here we given font-family as Chiller, similarly there are different font styles.
- Font-size is used for increasing the font size, since heading tags will be fixed for each size from H1 to H6.
- Text-align is used for aligning text in proper way.
- Text can be aligned by assigning value as left,right,center,justify.
Just switch over to other tab , where we provided how and where to give style tag and its attributes.
An Educational Website It’s one of the best website for Engineering Students No Fear When We Are Here ! Keep In Touch !
Special types of text Formatting elements in HTML :
- Bold text
- Important text
- Italic text
- Emphasized text
- Marked text
- Small text
- Inserted text
- Deleted text
BOLD AND IMPORTANT TEXT:
- The HTML <b> element explains the bold text without any importance.
- The HTML <strong> element explains the important text.
ITALIC AND EMPHASIZED TEXT :
- The HTML <i> element explains italic text, without any extra importance.
- The HTML <em> element explains empahasized text, with importance.
MARKED AND SMALL TEXT :
- The HTML <mark> element explains marked text to highlight it.
- The HTML <small> element explains small text when compared to others.
INSERTED AND DELETED TEXT :
- The HTML <ins> element explains inserted (add) text.
- The HTML <del> element explains deleted (remove) text.
SUBSCRIPTS AND SUPERSCRIPTS :
- The HTML <sub> element explains subscripted text.
- The HTML <sup> element explains superscripted text.
HTML Small Format.
<q> Quotation :
- The HTML <q> element explains a short quotation.
- It is usually used to insert quotations.
<blockquote> Quotation :
- The HTML <blockquote> element explains a long quotation.
- It is similar to above element but used for paragraph or long sentences as quotation.
- The HTML <abbr> element explains a abbreviation, which is not shown in browsers but used for search engine and browsers understanding.
- The HTML <address> element defines about contact information.
- The content between <address> element will be displayed in italic.
- The HTML <cite> element explains the title of a work.
- Here, we described the work of our logo.
- The HTML <bdo> element explains bi-directional override.
- It is used to override the current text direction.
Here we provide notes,syllabus,question papers for engineering students
Students of KPRIETKPR Institute of Engineering and Technology, Arasur, Coimbatore, Tamilnadu.
Kprblog Logo This line will be written from right to left
CSS stands for Cascading Style Sheets
There are 3 ways of Styling can be added to HTML elements :
- Inline CSS – using a style attribute along with HTML elements.
- Internal CSS – using <style> element in the HTML <head> section.
- External CSS – using external CSS files (As a separate CSS file ).
The most common way styling a HTML is to keep desired styles in separate CSS files. Here, we use internal styling, because it is ease of demo and easier for you to try it by your own.
To learn more about CSS, move on to CSS page of our site.
Latest posts by Aslam Saah (see all)
- Benefits of Blogging for Startup and Small Business - March 2, 2019
- Advantages of SuperFast Web Hosting - March 1, 2019
- What are Major Issues with Worst Web Hosting Companies - February 23, 2019