What is HTML used for?
HTML consists of a series of elements, which you use to enclose, or wrap, different parts of the content to make it appear a certain way, or act a certain way.
Why are we learning HTML?
The more you learn about HTML (Hypertext Markup Language), the easier it will be to learn other web languages. Even with the evolution of web languages, HTML is still a core component of website development and is used along with other scripting languages to create web pages.
What is an HTML tag?
The enclosing tags can make a word or image hyperlink to somewhere else, can italicize words, can make the font bigger or smaller, and so on.
What is the structure of an HTML tag?
The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets. This states where the element begins or starts to take effect — in this case where the paragraph begins.
The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends — in this case where the paragraph ends. Failing to add a closing tag is one of the standard beginner errors and can lead to strange results.
Note: how to search words within a webpage
1 – Press the Ctrl+F key combination. You’ll see a small search box pop up near the top of the screen. 2 – Type the word or phrase you wish to find in the search box. As you’re typing, the first occurrence of that word or phrase will automatically be highlighted on the screen.
What is an attribute?
Attributes contain extra information about the element that you don’t want to appear in the actual content.
What is the anatomy of an HTML document?
Anatomy of Any HTML Document. Every HTML document consists of two elements: Head elements – provides page title and general page formatting commands. Body elements – put the main HTML text in this part.