Basic examples of HTML
In the previous HTML lesson, you know which tools to use to write HTML code, how to save and open HTML files. This article will give some basic examples of HTML text.
This article will give some basic HTML text examples . Don't worry if you see unlearned bookmarks. You will soon learn about them in the upcoming lessons.
HTML Text
- All HTML documents must begin with
-!DOCTYPE html-
- As for the HTML text content, it starts with -html- and ends with
-/html-
- The HTML text that will display is the part that is contained within the 2 tags
-body-
and-/body-
HTML title
The title of the HTML document is defined by the markup -h1-
and tags -/h1-
-h1-
indicates that it is the most important title, and -h6-
indicates that it is the least important.
Text paragraphs in HTML
Paragraphs are identified by bookmarks -p-
and end with -/p-
Links in HTML
Paths are identified by tags -a-
and -/a-
- The destination of this path is specified in the attribute
href.
- Attributes are used to provide additional information to an element in HTML.
- You will learn about HTML elements and attributes in the next lesson.
Images in HTML
The image is identified by the tag -img-
The alt (src),
text source file (alt), width
and height
the properties of the image.
Buttons in HTML
Buttons identified by tags -button-
List in HTML
Lists are identified by tags -ul-
(bulleted/ -ol-
unordered lists ) or (bulleted / ordered lists), followed by a tag -li-
(item list)
You should read it
- Introduction to HTML
- 5 steps to learn a dynamic HTML web component profile
- Paths in HTML
- Why write neat and organized HTML?
- Common HTML mistakes that you should avoid for better web programming
- HTML form
- eQuiz - Multiple choice test on HTML knowledge
- 17 simple HTML codes you can learn in 10 minutes
- Elements in HTML
- Symbol - Icon in HTML
- HTML test has part 3 answers
- Attributes in HTML
Maybe you are interested
Hubble Telescope extremely rare photo of the moment of the Supernova explosion The world's most expensive telescope captures stunning views of the famous supernova remnant Fastest star in the Milky Way, speed 8,226,967 km/h Astrophysics professor teaches how to jump into a black hole so it's 'safe' and possible events Discovered organic molecules that can make life in the center of the Milky Way The interaction between the Milky Way and a satellite galaxy is creating many new stars