- vừa được xem lúc

Understanding Basic Tags in HTML 5

0 0 25

Người đăng: Jackson Mark

Theo Viblo Asia

Here you will learn the very most basic HTML tags that are required when creating a web document.

There are actually eight required HtML tags you must use when creating your webpages. These required tags will appear on each and every page of your website.

These eight required tags are as follows, and will appear on your page in this exact order:

Don't panic. I'm going to explain what each of these eight basic HTML tags does, and how to use them.

An important note before we go on...The tags must appear on your page as you see them here. This includes the symbols that enclose the tag. These symbols let your browser know that it is indeed a tag. HTML is case insensitive. This means that you can either type your tags in all caps, or all in lower case...it doesn't matter. does the same thing that does.

Now, on to what these tags actually do, and why they are necessary.

The Tag ~ This tag simply tells the web browser that the document it is loading is an HTML document. It tells the browser how to read the document.

~ This tag is another post it note for the web browser. It contains information about the document, such as links to pages that could be preloaded.

~ The Title tag is important. If you look at the very top of the window of your web browser when you visit a webpage, you will notice that it usually has the title of the page up there. Visit The Home Business Files for example, and you will actually see "The Home Business Files" in the top bar of the window.

~ This is the closing tag for the title tag. This tells the web browser that this is the end of that tag...the end of your title. Many tags must be closed like this.

~ This is the closing tag for the head tag.

~ This is the opening tag for the body of your HTML document. Your text and graphics....the information you wish to convey to the world will go between the body tags.

~ This is the closing tag for the body tag. This tells the web browser that you don't have any more information to place on that particular page.

~ This is the closing tag for the HTML tag. It tells the web browser that it has reached the end of that document...that there is nothing else to load or read.

Believe it or not, you now have all the information required to create a very very basic, text webpage.

Don't believe me? Try it out. Type the following into your text editor or HTML editor, and upload it to your site using your FTP client.

My Page This is a test page. I didn't believe I knew

enough to create a webpage...I thought designing

web pages and learning HTML was really difficult. Now I know that I can do it, and it

isn't so difficult after all! See? It wasn't so hard after all. Just remember these eight basic HTML tags required on every page. They must go on every single one of your web pages!

Also Read our: HTML 5 MCQ Interview Questions

Bình luận

Bài viết tương tự

- vừa được xem lúc

Một số quy tắc và name class phổ biến cho Front-end Dev

Trong CSS, các thủ tục setting đóng vai trò to lớn, nhưng bên cạnh đó, cách đặt tên theo các từ đơn sao cho phù hợp cũng quan trọng không kém . Đặt tên rất khó, nhưng cũng rất quan trọng .

0 0 79

- vừa được xem lúc

2021, chúng ta cần tối ưu hóa việc tải hình ảnh trên web như nào?

Rất chào các bạn,. Như các bạn đã biết, trong kỉ nguyên công nghệ, song song với sự sinh ra dày đặc của các trang web mới cũng là sự biến mất của những trang web "lạc hậu" hay hoạt động kém hiệu quả.

0 0 43

- vừa được xem lúc

Tài nguyên nghiên cứu sâu Html

1. Articles and standards. . HTML 5.

0 0 183

- vừa được xem lúc

Tìm hiểu về Event.preventDefault(), Event.stopPropagation() và Event.stopImmediatePropagation()

Chúng ta thương thấy 3 method này và có thể dẫn dến bối rối và nhầm lẫn giữa chúng:. . Event.preventDefault().

0 0 36

- vừa được xem lúc

Vanilla JS Project: Tính tuổi

1. Yêu cầu.

0 0 50

- vừa được xem lúc

Thủ thuật nhỏ để căn chỉnh image với object-fit

Chào các bạn,. Có lẽ trong hành trình code của các bạn thì không ít lần gặp vấn đề méo ảnh do fix cứng cả width, height của ảnh nhỉ? Hoặc kể cả khi bạn set value cho 1 thuộc tính weigth hoặc height còn thuộc tính còn lại để auto thì nhiều lúc ảnh cũng không được hiển thị toàn vẹn cho lắm.

0 0 34