What are non-visual HTML elements? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are non-visual HTML elements?

12th Jul 2018, 3:51 AM
Семён
Семён - avatar
16 Answers
+ 3
D'lite Your keyboard/mouse movements can be intercepted by JS which in-turn can manipulate the DOM. The rendering engine is the heart of the browser. Different engines (WebKit vs. Gecko) can produce different outputs. You can learn more here: https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction
12th Jul 2018, 5:19 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
<meta> <head> <script> etc. Pretty much anything that goes inside of the head is invisible as well.
12th Jul 2018, 3:55 AM
Tony
Tony - avatar
12th Jul 2018, 4:46 AM
Tony
Tony - avatar
+ 1
What do you mean by non visual? Almost any element can be programmed to have a visual effect. Do you mean elements that don't effect the DOM like heading tags?
12th Jul 2018, 3:52 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
ahh, got it! Apparently, that's what I meant*)
12th Jul 2018, 3:56 AM
Семён
Семён - avatar
+ 1
The DOM is your browser's output from the code you wrote.
12th Jul 2018, 4:00 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
D'lite Not really. Lots of things can affect the DOM. The DOM is basically how the page is rendered in real time. Mouse movement, JS, keyboard input, the rendering engine, and the browser's error correction can affect the DOM.
12th Jul 2018, 4:28 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Ben Allen (Njinx) How on earth does Rendering engine,keyboard, mouse movement affect the DOM. i won't believe, until you give me a link to where you got this kind of info
12th Jul 2018, 4:34 AM
Dlite
Dlite - avatar
+ 1
D'lite The DOM can be manipulated by JS. The popular jQuery was actually built for the very purpose of making DOM manipulation easier.
12th Jul 2018, 5:05 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Ben Allen (Njinx) I didn't ask of Javascript, I asked of 1.Rendering engine 2.Keyboard 3.Mouse movements
12th Jul 2018, 5:08 AM
Dlite
Dlite - avatar
+ 1
Семён The rendering engine takes the markup and converts in into a map of the website, this is call the DOM. With the map it then draws everything on to the screen based on things like the CSS rules.
13th Jul 2018, 11:56 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
I'm sorry, but what is DOM?:)
12th Jul 2018, 3:55 AM
Семён
Семён - avatar
0
document object model, you're basically treating the webpage as an object with properties
12th Jul 2018, 4:05 AM
naomi
naomi - avatar
0
so DOM basically determines what webpage looks like,right?
12th Jul 2018, 4:09 AM
Семён
Семён - avatar
0
Семён No sir, DOM just shows you how elements are related to each other in your website.. It's HTML and mostly CSS that determines what your websites look like
12th Jul 2018, 4:21 AM
Dlite
Dlite - avatar
0
Umm,guys, how does work the rendering engine? I feel like I still haven't got it... A rendering engine interplays with DOM,right? But in what way?
13th Jul 2018, 7:09 AM
Семён
Семён - avatar