All HTML documents must start with a <!DOCTYPE> declaration. This <!DOCTYPE> tag tells the browser what version of HTML the page is written in., The<body> tag defines the main content of the HTML document that will be directly visible on your web page. This body tag <body> contains all the content of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc., This tag is used as a container for metadata: metadata is data about the HTML document, such as document title, character set, style sheets, links, and scripts., The HTML element is the top-level element of an HTML document. This HTML tag <html> is the container for all other HTML elements (except for the <!DOCTYPE> tag)., he <p> tag is used to define a paragraph of text., This tag is used to create different sized section titles throughout a web page. The <h1> through<h6> tags are used to create headings on a page, where <h1> is the largest and <h6> is the smallest., This tag is used to create a list. The list tag <li> must be contained in an ordered list (<ol>) with bullets) or an unordered list (<ul>) with numbers)., Using <li> within an ordered list, Using <li> within an unordered list, The color property specifies the color of text. There are 140 color names predefined in the HTML and CSS color specification, such as blue, red, coral, brown, etc. Colors also can be specified in various formats; the RGB colors and the HEX colors are the most used ones., The font-family property specifies the font for an element. There are two types of font family names:, The font-size property specifies the size of a font., The text-align property specifies the horizontal alignment of text inside an element. This property is used to align inline content such as text within a block-level element., The text-decoration: value; property specifies the appearance of decorative lines on text. The most common text-decoration are:, This tag is used to embed images into a web page. This image tag <img> has two required attributes:, The background-color property specifies the background color of an element. Color values can be defined with HEX, RGB, or color name., The border-color property specifies the color of an element's four borders. It is a shorthand for choosing the top, right, bottom, and left border color simultaneously. When one value is specified, it applies the same color to all four sides., The border-radius property specifies the radius of the element's corners; it allows you to add rounded corners to elements. This property can have from one to four values. The four values for each radius are given in the order top-left, top-right, bottom-right, bottom-left. When one value is specified, it applies the same radius to all four corners., The border-style property specifies the line style for all four sides of an element's border. It is a shorthand for top, right, bottom, and left border style respectively. When one value is specified, it applies the same border style to all four sides. There are various border style values, such as solid, dashed, dotted, double, groove, etc., The border- width property specifies the width of all four sides of an element's border. It is a shorthand for top, right, bottom, and left border width respectively. When one value is specified, it applies the same width to all four sides.The width can be set as a specific size (in px, pt, cm, em, etc) or by using one of the three predefined values: thin, medium, or thick., The Float property places an element on the left or right side of the screen and allows text and other elements to wrap around it., The Height property specifies the height of the content area of an element. The height of an element does not include padding, borders, or margins. Height can be defined in percentage (of the width of the containing block), pixels, cm, etc., The Margin property specifies the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left. When one value is specified, it applies the same margin to all four sides., The Width property specifies the width of the content area of an element. The width of an element does not include padding, borders, or margins. Width can be defined in percent of the containing block, pixels, cm, etc., The div tag <div> divides the HTML document into sections of content. This div tag <div> is used to group together HTML elements, allowing you to apply CSS styles to many elements at once.,
0%
Unit 2 HTML Code Review
Chia sẻ
Chia sẻ
Chia sẻ
bởi
Skontos
Chỉnh sửa nội dung
In
Nhúng
Nhiều hơn
Tập
Bảng xếp hạng
Hiển thị thêm
Ẩn bớt
Bảng xếp hạng này hiện đang ở chế độ riêng tư. Nhấp
Chia sẻ
để công khai bảng xếp hạng này.
Chủ sở hữu tài nguyên đã vô hiệu hóa bảng xếp hạng này.
Bảng xếp hạng này bị vô hiệu hóa vì các lựa chọn của bạn khác với của chủ sở hữu tài nguyên.
Đưa các lựa chọn trở về trạng thái ban đầu
Nối từ
là một mẫu kết thúc mở. Mẫu này không tạo điểm số cho bảng xếp hạng.
Yêu cầu đăng nhập
Phong cách trực quan
Phông chữ
Yêu cầu đăng ký
Tùy chọn
Chuyển đổi mẫu
Hiển thị tất cả
Nhiều định dạng khác sẽ xuất hiện khi bạn phát hoạt động.
Mở kết quả
Sao chép liên kết
Mã QR
Xóa
Bạn có muốn khôi phục tự động lưu:
không?