like the title says i found codes on the net for loading external files in a page but not sure about loading an external file's specific DIV(s) in a page it's really important or if smn can tell me what term can i use to search about it help will be highly appreciated
Your question is too general. What technologies are you trying to use? What do you want to accomplish - just displaying data, or something more interactive?
Either you're asking about Ajax or you simply need a file parser. I'm not sure which.
If you're talking about a (x)html file from which you want to extract data from one or more divs, I recommend DOM
If there are no nested divs then you can use regex to get the content between some divs. Note it will not work well for nested divs.
preg_match('!<div\s+id="someid"></div>!gsi',$HTML,$matches)