First meeting with HTML
“Hi, there! Welcome to WebIngredients, where this dude shares every knowledge and information gathered via working on Web Technology."
Friends just like before making an awesome dish we must need to know which ingredient we shall use for it.
Same way before making or creating your dream websites we should understand and learn "HTML, CSS, some scripting language with Javascript and any One Backend language such as PHP, Javascript(with the Node.js framework), Ruby, Python, Java, etc.
Here we are going to highlight some of the important points related to Web Technology as well.
What is HTML?
HTML is the markup language for creating Web pages and can also be referred to as the Worldwide Web’s primary language.Note: HTML stands for Hyper Text Markup Language
- It describes the structure of Web pages
- Elements of HTML are actually the building blocks of HTML Web pages
- These elements are represented by tags
- So basically, these tags label the pieces of content such as "heading", "paragraph", "table" etc
- Browsers never display the HTML tags, but they use them to render the content of the page
HTML has seen many updates over time, and currently, the newest HTML version is HTML5.
HTML5 has added a plethora of features to the original HTML and has eradicated some of the strictness that was present in XHTML.
Let's start with a Simple HTML document:-
Let's start with a Simple HTML document:-
Document Explain
<!DOCTYPE html> declaration says that this document to be HTML5<html> element is the root element of an HTML page
<head> element contains meta information about the document
<title> element specifies a title for the document
<body> element contains the page content to be visible to the usee
<h1> element is a large heading tag
<p> element is a paragraph tag
All HTML tags normally come in pairs i.e like <p> and </p>The first tag is a start tag aka "Opening Tag", the second tag is an end tag aka "Closing Tag"
The end tag is written in the same way as the start tag, but with a forward slash inserted before the tag name
To know more about, a difference between HTML and HTML5. click here
Basic Syntax for writing HTML tag
Note: "<tagname>.....content to be displayed.....</tagname>".
Editor required for Executing this HTML document
Any notepad editor can be used for creating and executing the HTML code.
But I refer Sublime editor for better understanding and it is pretty easy to use.
Just copy and paste above given sample into notepad and save as "any_filename.html"
Try to open the saved HTML file into any installed Web Browser and wa-laa it's done.
Congratulations for your First Web Page.
Just copy and paste above given sample into notepad and save as "any_filename.html"
Try to open the saved HTML file into any installed Web Browser and wa-laa it's done.
Congratulations for your First Web Page.
To know more about, a difference between HTML and HTML5. click here
Comments
Post a Comment