DEV Community

Susan J
Susan J

Posted on

JAVA FULL STACK INTERVIEW QUESTION'S PART-1:

1. What is HTML?

  • Stands for Hyper Text Markup Language.
  • Used to create web page in structured form.

2. What is "Markup Language"?

The given text.doc is defined in structure and presentation.

3. EM:

  • Stands for Element.
  • Used to change font-size in parent class.
  • Syntax:Font-size:2em.
  • Eg: .Main_layout{ font-size:2em; }
  • Default font-size:16px;
  • 4. REM:

    • Stands for Root Element.
    • Used to change fon-size in element.
    • Syntax:font-size:2rem;
    • Eg: .Main_layout{ font-size:2rem; }
    • Default font-size:16px;
    • 5. Doctype:

      • Declaration appears at the very top of every HTML document(not a tag)[before ].
      • Tells the browser what version of HTML.
      • Written only in HTML 5.

      6. Anchor Tag:

      Used to create hyperlink(Navigation from one webpage to another).

      7. Attributes:

      Used to change the behavior(or)to display the HTML element(all tags).

      flower*(name)*

      href- **Hyper Referece
      **src-
      Source file

      8. Image Tag:

      Syntax:name alt-Alternative text.

      9. Self Closing Tags:

      • Empty/void elements.
      • Only in HTML 5.
      • Not request to close the tag, because it contains no content.

      10. Types:

- **<br>**-Break[to start from next line].
- **<hr>-**Horizontal line[left-right].
- **<vr>-**Vertical line[top-button].
- **<img>-**Image (path of the img)[src,alt].
- **<input>-**Buttons("btns").

Top comments (2)

Collapse
 
dinesh_g_909f4a82c67f5bbd profile image
Dinesh G

thank you susan..

Collapse
 
susan_mary2004 profile image
Susan J

with pleasure