HTML stands for Hypertext Markup Language. It is the foundation of all the web pages on the Internet. By learning "tag" and "code" of html, we can publish various information around the world through the World Wide Web. If you understand the basic principles of language, learning HTML is not difficult. HTML / Header / Body Tag - There are several important tags when writing HTML documents. The four basic tags to learn are as follows. The html tag is always the first tag to identify type documents.
The most basic tag is the <html> tag. This tells the web browser that everything is HTML. And there is a <body> tag in the <html> tag. And there are <h1> tag and <p> tag in the <body> tag. The <h1> tag is used for the title header, and the <p> tag is used for the paragraph. Other useful tags are <a> for hyperlinks, <table> for tables, <tr> for table rows, <td> for table columns. In addition, HTML tags may contain "id" or "class" attributes. The id attribute specifies the unique ID of the HTML tag and the value must be unique within the HTML document. The class attribute is used to define the same style for HTML tags with the same class. You do not need to know them now. Use these IDs and classes only to make it easier to find the information you need. Wait, this sounds very irresponsible. Yes. If you really want to understand them, this is an irresponsible statement unless you think that you learn about ID and class yourself and study, you do study.
Like other HTML files, you need to toggle html, head, body tag on and off. In addition, we need a form label containing the contents of the e-mail. In general, we recommend adding a fixed width to the table to limit the signature and create a consistent design across all e-mail clients. In this example, a width of 500 px is used. You can include graphic elements such as the company logo in the signature. To do this, add the tr tag with td. This td wraps the image. Like the original form package, this td should have a fixed width and height according to the size of the image. In addition, the image must be stored on the server, and the img tag must use absolute path.
As we have already seen, HTML tags can be nested in other HTML tags. This is the function of forming an HTML hierarchical tree. If you nest an HTML tag into another HTML tag, the tag nested within it is called the child element of the previous tag. As you can imagine, the tag of another tag nested within it is called the parent tag. Let's look at the code for clarity. The situation is becoming increasingly complex. As you can see, this may last, we can have children's children and children's children. So, to simplify things, instead of calling the root element as grand grand ......... grand parent, we simply call it the ancestor element. We call deeper children descendants of their ancestors. Child elements can be ancestors of other elements