본문 바로가기

Research/HTML17

HTML_class and id HTML class Attribute It is possible to specify a class in HTML. Many HTML elements can share the same class. Using the class Attribute The class attribute track a class name in a style sheet. It can work by using JavaScript and edit elements. .city { background-color: tomato; color: white; border: 2px solid brown; margin: 20px; padding: 10px; } New York This is NYC Amsterdam WElKOM Bonjour Hi Ni.. 2023. 5. 2.
HTML_block and inline elemets HTML Block and Inline Elements Every HTML element has a default display value, depending on what type of element it is. There are two display values: block and inline. Block-level Elements A block-level element starts on a new line, and the browsers automatically add some space (a margin) before and after the element. A block-level element always takes up the full width available (stretches out .. 2023. 5. 2.
HTML_lists HTML Lists With HTML lists, you can group a set of items in lists. There are two types of list, 1)unordered list and 2)ordered list. Unordered HTML List With tag, you can create unordered list. There are tag inside tag. Coffee Tea Milk Ordered HTML List An ordered list starts with the tag. Each list item starts with the tag. Coffee Beer Water HTML Description Lists There is description list. It .. 2023. 5. 2.
HTML_tables HTML Tables HTML tables allow web developers to arrange data into rows and columns. Company Contact Country Alfreds Futterkiste Maria Anders Germany Centro comcial Moctezuma Francisco Chang Mexico Company Contact Country Alfreds Futterkiste Maria Anders Germany Centro comcial Moctezuma Francisco Chang Mexico Table Cells Each table cell is defined by a and a tag. td stands for table data. tr stan.. 2023. 5. 2.