0
What is meaning of inline ?
4 Respostas
+ 3
to write a code in one line that is typically done in more.
+ 1
In CSS, inline makes elements next to, or beside, on each other. Block puts elements above and below each other.
0
it means it doesnt span multiple lines
this isnt an inline function
1 function toRad(x) {
2 return x * Math.PI / 180
3 }
this is an inline function
1 function toRad(x) { return Math.PI / 180 }
As you can see there arent any new lines in the definition of the inline function so it only takes up one line