+ 1

What does these attributes and tags mean in the code provided below? :-

What does these attributes and tags mean in the code provided below? :- (1) ! Doctype (2) href (3) <textarea> </textarea> (4) what does class means with div class and with input class <div class> Input type="submit" value="send" class="submit" https://code.sololearn.com/WHrjJIGtKW55/?ref=app

15th May 2019, 8:44 AM
radib r.
radib r. - avatar
4 Antworten
+ 3
radib r. (1) The <!DOCTYPE> declaration is not anHTML tag; it is an instruction to the web browser about what version ofHTML the page is written in. In HTML4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. HTML5 is not based on SGML, and therefore does not require a reference to a DTD. source: https://www.w3schools.com/tags/tag_doctype.asp (2)  HREF. (Hypertext REFerence) The HTML code used to create a link to another page. The HREF is an attribute of the anchor tag, which is also used to identify sections within a document. source: https://www.pcmag.com/encyclopedia/term/44472/href (3) The <textarea> tag defines a multi-line text input control. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier). The size of a text area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties. source: https://www.w3schools.com/tags/tag_textarea.asp
15th May 2019, 9:07 AM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 2
radib r. (4) The HTML class attribute is used to define equal styles for elements with the same class name. So, all HTML elements with the same class attribute will have the same format and style. source: https://www.w3schools.com/html/html_classes.asp
15th May 2019, 9:13 AM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 2
radib r. finally, I hope I was helpful !
15th May 2019, 9:31 AM
Alessio Benvenuti
Alessio Benvenuti - avatar