Start learning HTML now | What is HTML? | Example Explained | What is an...
HTML is the standard markup language for Web pages.
With HTML you can create your own Website.
HTML is easy to learn - You will enjoy it!
Start learning HTML now
What is HTML?
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for
creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to
display the content
HTML elements label pieces of content such
as "this is a heading", "this is a paragraph",
"this is a link", etc.
Example Explained
The declaration defines that this
document is an HTML5 document
The element is the root element of an
HTML page
The element contains meta information about
the HTML page
The element specifies a title for the
HTML page (which is shown in the browser's title
bar or in the page's tab)
The element defines the document's body,
and is a container for all the visible contents,
such as headings, paragraphs, images, hyperlinks,
tables, lists, etc.
The
element defines a large heading The
element defines a paragraph
What is an HTML Element?
An HTML element is defined by a start tag,
some content, and an end tag:
My First Heading
My first paragraph.
A simple text editor is all you need to learn HTML. Learn HTML Using Notepad or TextEdit Web pages can be created and modified by using professional HTML editors. However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac). We believe in that using a simple text editor is a good way to learn HTML. Follow the steps below to create your first web page with Notepad or TextEdit. Windows: Open Notepad (PC) Windows 8 or later: Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad. Windows 7 or earlier: Open Start > Programs > Accessories > Notepad Mac: Open TextEdit (Mac) Open Finder > Applications > TextEdit Also change some preferences to get the application to save files correctly. In Preferences > Format > choose "Plain Text" Then under "Open and Save", check the box that says "Display HTML files as HTML code instead of formatted text". Then open a new document to place the code. How to View HTML Source? Have you ever seen a Web page and wondered "Hey! How did they do that?" View HTML Source Code: Right-click in an HTML page and select "View Page Source" (in Chrome) or "View Source" (in Edge), or similar in other browsers. This will open a window containing the HTML source code of the page. Inspect an HTML Element: Right-click on an element (or a blank area), and choose "Inspect" or "Inspect Element" to see what elements are made up of (you will see both the HTML and the CSS). You can also edit the HTML or CSS on-the-fly in the Elements or Styles panel that opens.
Comments
Post a Comment