HTML (Hypertext Markup Language) is the primary programming language for developing web pages. Created as a simple and convenient programming language. Most of the pages on the Internet have been developed using one of the forms of this language (ColdFusion, XML, XSLT). After reading this article, you can continue your training using other resources on the Internet. Try to search the internet for other articles related to this topic.
Method 1 of 1: Writing an HTML Page
Step 1. Before you begin familiarizing yourself with one of the steps presented here, see the “What You Will Need” section
Step 2. What you need to know before you begin to understand this issue: 3 Basics
Have you ever heard of the tag? The tag is surrounded by angle brackets, with the word inside. The end tag is written in the same form, but with the addition of a slash after the first angle bracket. An attribute is an optional word in a tag that is used to add details to a tag. Step 4. Beginning of the document.
In whatever text editor you are using, paste in the following:
The tag must be closed with the same tag, but with a slash after the first angle bracket. There are exceptions such as META or DOCTYPE tags.
5 DOCTYPE Let's take a look at the more important tags currently in use. During the creation of the page, a simple structure is used. If a tag was opened, then as a result, it should be closed. This applies to the entire structure. Here's a valid example of the XHTML layout structure: 7 Title
Step 6. HTML "Encapsulation Rule"
Let's take a look at the more important tags currently in use. During the creation of the page, a simple structure is used. If a tag was opened, then as a result, it should be closed.
This applies to the entire structure. Here's a valid example of the XHTML layout structure:
In case you haven't noticed, the individual tags have been highlighted, with the actual information removed. The example is pretty short, showing almost every tag that can be found in, with the exception of HTML comment (We'll talk about this in simple tags).
8 Simple tags everywhere
- Let's move on and see other tags. Be careful with your tagging and remember the rule of thumb, "Encapsulation."
- Highlights important text.
- Makes text smaller. Font size is measured in standard units from 1 to 7, 3 is the default text size. …
Defines a block of rich text. As it is correct, such text is typed in a font of the same size and with all spaces between words.
- Shows text as a phrase.
- Strikes through text.
- Defines the text that has been inserted into the document.
Defines a paragraph.
- Unlike other tags, the comment must be inside the tag itself. This information is only visible when the code is viewed.
Shows a quote, can be used with a tag.
- The few examples provided above are not a complete list of existing tags. To find out about others, visit.
One of the many title tags. Tags of this kind start with 'h', with a difference in number. Make sure to close the tag with the same number
9 Creating a clear structure
- Pages are designed to hold data in simple sets of tags so that we can parse the information into paragraphs. The computer recognizes data; it does not know about context or conceptual connection. We have to create computer-friendly HTML pages. This is achieved by using the div tag. It helps to create a huge number of pages. It can be styled with CSS and is easier than creating large code tables for the layout.
This tag is special because it can be styled and use separate blocks of information that will be understandable to both the user and the computer
- Let's take a look at a simple HTML layout that uses a div tag.
- After reading this article, do not stop and think that you have learned everything you need to know. There is always something to learn, especially in this technology.
- Learn, understand, and write code.
- Please note that some tags only use. Para and br are some examples. Other tags opened with need to be closed further. For example, " ".
- People expect new discoveries, so reinvent, design, or code.
- Once you've learned a lot, try learning server programming.